bazel: command to prepare development workspace (#1425)

This command symlinks all binaries into the current working directory (or the path specified by the first argument)

* bazel: command to prepare development workspace
* bazel: set malt3 as codeowner
This commit is contained in:
Malte Poll 2023-03-14 13:57:39 +01:00 committed by GitHub
parent e4b5ef0ed4
commit a73cdb9b14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 86 additions and 3 deletions

View file

@ -21,13 +21,19 @@ Prerequisites:
sudo dnf install @development-tools pkg-config cmake openssl-devel cryptsetup-libs cryptsetup-devel
```
CMake wrapper:
Developer workspace:
```sh
mkdir build
cd build
cmake ..
make
# build required binaries for a dev build
# and symlink them into the current directory
bazel run //:devbuild
./constellation ...
# modify code
# rerun to ensure that all binaries are up to date
bazel run //:devbuild
./constellation ...
```
Bazel build: