Skip to content

Commit

Permalink
make-compilation-db: fetch deps to have complete include list.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Aug 28, 2024
1 parent 32e8c1e commit d4ed073
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/make-compilation-db.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

BAZEL=${BAZEL:-bazel}
"${BAZEL}" fetch ...
"${BAZEL}" build -c opt bant:bant > /dev/null 2>&1

bazel-bin/bant/bant compilation-db > compile_commands.json

0 comments on commit d4ed073

Please sign in to comment.