bazel build //...
bazel test //...
bazel query //...
The last one should list all targets (from what I remember). bazel run //in_memory/clustering:graph
ERROR: Cannot run target //in_memory/clustering:graph
I'm going to wait until someone updates the readme I think!If you `bazel build //...`, you should get the compiled libs under `bazel-out/*fastbuild/bin/`.
This in turn allows you to only build and use the 'package' you care about without having to build the whole repo in other projects. Continuing on the above example, if you only wanted to use the asynchronous_union_find.h header file in your project, somewhere in your WORKSPACE file, you add the graph-mining library using a git_repository rule (see WORKSPACE.bazel for examples), and in a cc_library rule in a BUILD file inside your project, you can add a `@graph-mining//in_memory/connected_components:asynchronous_union_find`. Then you can include it as a header elsewhere. Building your project then only builds that package and its dependencies, and not the entire graph-mining library.
edit: thanks to https://sdkman.io/ it's up and running. It wasn't _that_ bad after all.