https://github.com/filmil/bazel-go-tool-example
An example minimal bazel repository with a go tool built from source.
https://github.com/filmil/bazel-go-tool-example
Last synced: about 2 months ago
JSON representation
An example minimal bazel repository with a go tool built from source.
- Host: GitHub
- URL: https://github.com/filmil/bazel-go-tool-example
- Owner: filmil
- License: apache-2.0
- Created: 2023-03-02T02:50:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T02:51:39.000Z (about 2 years ago)
- Last Synced: 2025-01-25T07:28:34.531Z (3 months ago)
- Language: Starlark
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example go tool repository
This is an example repository containing the basic setup for go tooling.
The idea is that you can copy this repo and start your own easily.# Refresh build files like this
```
bazel run //:gazelle
```# Build and run the binary like this
```
bazel run //bin/hello
```# Run tests
```
bazel test //...
```