mirror of
https://github.com/nbitslabs/nOracle.git
synced 2026-08-31 07:19:52 +00:00
No description
- Go 89.3%
- Starlark 9.9%
- Dockerfile 0.8%
| .github/workflows | ||
| cmd | ||
| internal | ||
| pkg | ||
| .bazelversion | ||
| .gitignore | ||
| BUILD.bazel | ||
| build.Dockerfile | ||
| config.example.yaml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| MODULE.bazel | ||
| MODULE.bazel.lock | ||
| README.md | ||
nOracle
📦 Requirements
🚀 Getting Started
Install Go dependencies
Use Bazel to tidy the Go module and fetch external dependencies.
bazel mod tidy
Build all targets
This ensures all Bazel targets in the repo are building correctly.
bazel build //...
Generate or update Bazel build files with Gazelle
Gazelle scans your Go code and automatically generates or updates BUILD.bazel files.
bazel run //:gazelle
✅ Re-run Gazelle whenever:
- You add or remove
.gofiles- You rename Go packages or files
- You change import paths
Run tests
This ensures all Bazel targets in the repo are tested correctly.
bazel test //...