| commit | 7c38e7845bad04db14031741e879e887e2f571b5 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Tue Apr 29 09:23:37 2025 +0000 |
| committer | Jan Schär <jan@monogon.tech> | Tue Apr 29 13:11:33 2025 +0000 |
| tree | 8481308f7280a6153de818497d11f0c9614baeeb | |
| parent | dc97912eb162144d7bd92509ad8f064a8cf98ecb [diff] |
treewide: replace go_binary_with_tag Instead of using go_binary_with_tag, we can write a go_binary rule which embeds the library. Then we can easily change all the Go configs, not just tags. By default, Gazelle generates the libraries for a go_binary with private visibility, so we need to override it to pulic. The go_binary_with_tag rule had the additional feature of combining the specified tags with the incoming ones (osusergo, netgo); instead I added those manually. Change-Id: I23965176f87e3a0bbd18ba5a72f190e4f9047363 Reviewed-on: https://review.monogon.dev/c/monogon/+/4157 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.