mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
1b0f37c6f6
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.
11 lines
176 B
Bash
Executable File
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 -- "$@"
|