We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd65b1 commit 11ae6c8Copy full SHA for 11ae6c8
_bazel_fix_current_pkg.sh
@@ -11,11 +11,16 @@ else
11
echo "Error: The script shall be called with '\$FilePathRelativeToProjectRoot\$' as parameter."
12
exit 1
13
fi
14
+if [[ -n "$1" ]]; then
15
+ CHECKER="$1"
16
+ shift
17
+fi
18
19
if [ -n "$PACKAGE" ]; then
20
PACKAGE_NAME=${PACKAGE##*/}
21
set -ex
22
bazel run --ui_event_filters=-info --run_under="cd $(pwd) &&" @apex//tools/repo:repo.fix -- \
23
+ $CHECKER \
24
//$PACKAGE:all
25
else
26
echo "Error: can't find package for $FILE_PATH file."
0 commit comments