A script that generates a build, test & run ready Bazel template project for C++.
If not already done install bazel & buildifier
brew install bazelisk
brew install buildifier
chmod 755 new_bazel.sh
./new_bazel.sh
BUILD: bazel build //...
bazel test //GTest:lib_gtest
bazel run //:hello-world
| Library | Support |
|---|---|
| Google Test | ✔ |
| Nlohman JSON | - |
- Changelog.md
- ReadMe.md
- .gitignore
- .bazelversion
- .bazelrc
- .bazelproject
- WORKSPACE.bazel
- A demo Library
- A demo Library test case
- A third_party directory