Rules Swift Package Manager banner
cgrindel cgrindel

Rules Swift Package Manager

Development community

Description

Collection of utilities and Bazel rules to aid in the development and maintenance of Swift repositories using Bazel.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Swift Package Manager Rules for Bazel

[![Build](https://github.com/cgrindel/rules_swift_package_manager/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/cgrindel/rules_swift_package_manager/actions/workflows/ci.yml)

This repository contains a Bazel ruleset that can be used to download, build, and consume Swift packages. The rules in this repository build the external Swift packages using [rules_swift], [rules_apple] and native C/C++ rulesets making the Swift package products and targets available as Bazel targets.

This repository is designed to fully replace [rules_spm] and provide utilities to ease Swift development inside a Bazel workspace.

Table of Contents