issues
search
cgrindel
/
rules_swiftformat
Bazel rules that format Swift source files using nicklockwood/SwiftFormat.
Apache License 2.0
8
stars
0
forks
source link
Add Gazelle plugin to populate the `swift_tidy_pkg` declarations
#100
Open
cgrindel
opened
1 year ago
cgrindel
commented
1 year ago
Considerations
Specify the location of configuration files via Gazelle directive (#98).
Two modes:
Using
swift_tidy_pkg
directly
Add
swift_tidy_pkg
alongside the
swift_xxx
declarations
Could we configure
rules_swift_package_manager
gazelle plugin to add arbitrary declarations.
Using helpers that replace
swift_xxx
.
Configure
rules_swift_package_manager
to specify the load path for each
swift_xxx
rule/macro.
Considerations
Two modes:
swift_tidy_pkg
directlyswift_tidy_pkg
alongside theswift_xxx
declarationsrules_swift_package_manager
gazelle plugin to add arbitrary declarations.swift_xxx
.rules_swift_package_manager
to specify the load path for eachswift_xxx
rule/macro.