GitHunt
MA

maxwellE/rules_swift_simple

A simple set of Swift rules for Bazel, used for learning and experimentation.

rules_swift_simple

A simple set of Swift rules for Bazel, used for learning and experimentation.

The rules are divided into versions (v1, v2, etc.). Each version builds
upon the last and includes all the functionality of the previous
versions.

  • v1: A minimal
    example of a rule that produces an executable (swift_binary).
  • v2: Adds a small
    rule that produces a library (swift_library).
  • v3: Adds a data
    attribute.
  • v4: Walks through common
    debugging of errors stemming from visibility and glob attributes.

Languages

Starlark81.6%Swift11.7%Shell6.5%Makefile0.2%

Contributors

BSD 3-Clause "New" or "Revised" License
Created March 17, 2023
Updated March 21, 2023