commit | 3e6018fcf0645da7876eec06d1604438bea0550e | [log] [tgz] |
---|---|---|
author | Hendrik Hofstadt <hendrik@certus.one> | Mon Oct 28 21:29:42 2019 +0100 |
committer | Hendrik Hofstadt <hendrik@certus.one> | Mon Oct 28 21:29:42 2019 +0100 |
tree | 6bb2fa6081152d2dc32530a8eaaf0a58c31dc35e | |
parent | 0d7c91e331022831a974c2e34d32bb5b89ddc89c [diff] |
Add sqlboiler bazel rules This implements a bazel rule to build sqlboiler models from sql migration stacks. It also launches a cockroachdb container in `create_container` and puts it in one pod with the nexantic-dev container. Currently gazelle overwrites the `go_library` rule. I still need to find a way to properly exclude it. Test Plan: Built a sample set of sql models X-Origin-Diff: phab/D226 GitOrigin-RevId: ff24f07bb0b3da9994c52a74f48b54e1e2bea726
This is the monorepo storing all of nexantic's internal projects and libraries.
All builds should be executed using the shipped nexantic-dev
container which is automatically built by the create script.
The container contains all necessary dependencies and env configurations necessary to get started right away.
Spinning up: scripts/create_container.sh
Spinning down: scripts/destroy_container.sh
Running commands: scripts/run_in_container.sh @
Using bazel: scripts/bin/bazel @