Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Apr 3, 2024
1 parent b9ae085 commit 3017193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ bazel build "$target" && exec $(bazel 2>/dev/null cquery --output=files "$target
Now just create symlinks such as `tools/mytool -> ./_multitool_run_under_cwd.sh`.
This will build `@multitool//tools/mytool` and then execute the resulting binary in the current working directory.

Developers can now just naively run `./tools/mytool --arg my/file` and don't need to worry about where the tool comes from.

[discards the analysis cache]: https://github.com/bazelbuild/bazel/issues/10782

0 comments on commit 3017193

Please sign in to comment.