-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68559: dev: teach dev how to lint r=rail a=rickystewart (Only the most recent commit applies for this review, the other is from #68514) Closes #68547. Release note: None Co-authored-by: Ricky Stewart <[email protected]>
- Loading branch information
Showing
4 changed files
with
82 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
dev lint | ||
---- | ||
getenv PATH | ||
which cc | ||
readlink /usr/local/opt/ccache/libexec/cc | ||
export PATH=/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
bazel run --color=yes --config=test //build/bazelutil:lint --config=dev -- -test.v | ||
|
||
dev lint --short --timeout=5m | ||
---- | ||
getenv PATH | ||
which cc | ||
readlink /usr/local/opt/ccache/libexec/cc | ||
export PATH=/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
bazel run --color=yes --config=test //build/bazelutil:lint --config=dev -- -test.v -test.short -test.timeout 5m0s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
getenv PATH | ||
---- | ||
/usr/local/opt/ccache/libexec:/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
|
||
which cc | ||
---- | ||
/usr/local/opt/ccache/libexec/cc | ||
|
||
readlink /usr/local/opt/ccache/libexec/cc | ||
---- | ||
../bin/ccache | ||
|
||
export PATH=/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
---- | ||
|
||
bazel run --color=yes --config=test //build/bazelutil:lint --config=dev -- -test.v | ||
---- | ||
|
||
getenv PATH | ||
---- | ||
/usr/local/opt/ccache/libexec:/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
|
||
which cc | ||
---- | ||
/usr/local/opt/ccache/libexec/cc | ||
|
||
readlink /usr/local/opt/ccache/libexec/cc | ||
---- | ||
../bin/ccache | ||
|
||
export PATH=/usr/local/opt/make/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin | ||
---- | ||
|
||
bazel run --color=yes --config=test //build/bazelutil:lint --config=dev -- -test.v -test.short -test.timeout 5m0s | ||
---- |