Files
SwiftLint/tools/sourcery
JP Simard 1b0f37c6f6 Pin Sourcery version to 2.0.2 (#4888)
By adding a `tools/sourcery` script that downloads and runs Sourcery via
Bazel.

Previously, unrelated changes might include modifications to the
generated comment headers because contributors' local versions of
Sourcery would be used, which we don't control.

Also move the CI job to Buildkite where the bazel server is usually
already warmed up and running.
2023-04-13 20:09:26 +00:00

11 lines
176 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
bazel run \
--run_under="cd $PWD && " \
--noshow_progress \
--show_result=0 \
--ui_event_filters=-INFO \
@Sourcery//:Sourcery -- "$@"