https://github.com/slamdev/bazel-playground
Experiments with Bazel
https://github.com/slamdev/bazel-playground
Last synced: 10 days ago
JSON representation
Experiments with Bazel
- Host: GitHub
- URL: https://github.com/slamdev/bazel-playground
- Owner: slamdev
- Created: 2021-02-01T15:35:52.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T02:22:15.000Z (over 2 years ago)
- Last Synced: 2025-01-29T14:45:26.686Z (about 1 year ago)
- Language: Starlark
- Size: 3.04 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bazel-playground
Experiments with Bazel
## Notes
Format bazel files with [buildifier](https://github.com/bazelbuild/buildtools):
```shell script
for f in $(find . -name 'WORKSPACE' -o -name '*.bzl' -o -name 'BUILD') ; do buildifier -v $f; done
```
### Useful bazel commands
- build everything
```shell
./baseliskw build //...
```
- update node modules
```shell
./baseliskw run @nodejs//:npm -- install
```
### Implement building only changed parts
https://github.com/Tinder/bazel-diff