File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 44
55cd " $( dirname " $0 " ) " /..
66
7- bazelisk build dd_trace_cpp
7+ if [ " $1 " = ' --absl' ]; then
8+ rcfile=.bazelrc.absl
9+ elif [ " $1 " = ' --std' ]; then
10+ rcfile=.bazelrc.std
11+ elif [ $# -ne 1 ]; then
12+ >&2 printf ' %s: Specify one of "--absl" or "--std" build modes.\n' " $0 "
13+ exit 1
14+ fi
15+
16+ bazelisk --bazelrc=" $rcfile " build dd_trace_cpp
Original file line number Diff line number Diff line change 99cd " $( dirname " $0 " ) " /..
1010
1111bin/format --dry-run -Werror
12+
1213bin/test
13- bin/bazel-build
14+
15+ if [ " $1 " != ' --no-bazel' ]; then
16+ # Specifying two different build configurations in bazel seems to trigger a
17+ # clean build each time :(
18+ bin/bazel-build --absl
19+ bin/bazel-build --std
20+ fi
21+
1422find bin/ -executable -type f -print0 | xargs -0 shellcheck
You can’t perform that action at this time.
0 commit comments