bazel.sh 549 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. set -eux
  3. bazel clean
  4. bazel build --compilation_mode=dbg -- //:all
  5. bazel test --compilation_mode=dbg --test_output=errors -- //:all \
  6. -//:dfa_test \
  7. -//:exhaustive1_test \
  8. -//:exhaustive2_test \
  9. -//:exhaustive3_test \
  10. -//:exhaustive_test \
  11. -//:random_test
  12. bazel clean
  13. bazel build --compilation_mode=opt -- //:all
  14. bazel test --compilation_mode=opt --test_output=errors -- //:all \
  15. -//:dfa_test \
  16. -//:exhaustive1_test \
  17. -//:exhaustive2_test \
  18. -//:exhaustive3_test \
  19. -//:exhaustive_test \
  20. -//:random_test
  21. exit 0