rules_swift_package_manager
rules_swift_package_manager copied to clipboard
Road to 1.0.0
Goals
- Remove need for Swift index JSON file.
- Move Gazelle plugin to its own repository.
- Create release 1.0.0.
Tasks
- [x] Process SPM
Package.swift
andPackage.resolved
in the repository rule.- [x] Stop reading the index file in the repository rules.
- [x] Be sure to return the correct repository info so that
mod tidy
will update theMODULE.bazel
file with the correctuse_repos
declaration. - [x] Remove all of the index files in the examples.
- [x] Remove all of the
swift_deps START
andswift_deps END
comments. - [x] Update
bzlmod/workspace
to usefrom_package()
.
- [x] Update the Gazelle plugin to not use the Swift index JSON file.
- [x] ~~Update
//:swift_update_pkgs
to just run SPM commands without using Go. Be sure to use the Swift toolchain, not the Swift installed on the system. (Possibly, create a new macro that creates the commands for running Swift package commands.)~~ For now, I removedswift_update_packages
. If people would like a way to update Swift packages using Bazel, we will do it as a separate feature. - [x] Fix examples
- [x]
grpc_package_example
- [x]
symlink_example
- [x]
ios_sim
- [x]
- [ ] Move Gazelle plugin to its own repository.
- [ ] Create a repository for the Gazelle plugin.
- [ ] Publish to BCR.
- [ ] Remove Gazelle plugin from
rules_swift_package_manager
.
- [ ] #1079
- [x] #1168
- [ ] Create release 1.0.0.