basic bazel project structure
Express skcms' project structure in Bazel.
bazel build ... and bazel test ... work for me on WSL2 Ubuntu 20.04.
Everything was reassuringly sandboxed by default:
- tests binary needed our profiles/ directory declared as
a data dependency when run under bazel test
- visibility all defaulted to something locked down,
I think "visible to targets declared in this BUILD file"
- (not in this CL) to build with ccache, I had to set in .bazelrc
buildifier seems to work ok for formatting.
(go get github.com/bazelbuild/buildtools/buildifier)
Commit-Queue: Mike Klein <firstname.lastname@example.org>
Reviewed-by: Joe Gregorio <email@example.com>
4 files changed