How to Use Swift Packages in Bazel Using swift_bazel
Learn how to use Swift packages in Bazel using swift_bazel. Find out how the Gazelle extension for Swift can make managing your build files a breeze.
How to Format Bazel Starlark Files Using bzlformat
Format Bazel Starlark files using bzlformat, a ruleset that leverages Buildifier to format, test, and update source files.
How to Copy Bazel Build Outputs to Your Source Directory
Learn how to copy Bazel build outputs to your source directory using rules_updatesrc.
How to Integrate SwiftFormat into Bazel
This article demonstrates how to integrate SwiftFormat into Bazel using rules_swiftformat. Format Swift source files and test that files are formatted.
How to Build and Run Swift Package Binaries in Bazel
This post will show you how to build and run Swift package binaries in your Bazel project using rules_spm. Examples: swiftlint, swiftformat
How to Use External Swift Packages in Bazel
Do you build your Swift software with Bazel? Have you ever wanted to use an external Swift package in your project? This post will show you how to use Swift packages in Bazel using rules_spm.