diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-04-25 14:26:06 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2024-04-25 14:26:38 +0200 |
commit | ecad3632cca60e28caa99af321bef4d84810f958 (patch) | |
tree | 0d1f6211eff716bd0415bf5541863dc97354cf87 | |
parent | 111db8b38fd8350d92d72fa17fd3d9e8ef5a0e09 (diff) |
justfile: allow passing args to `meson compile`
My main motivation for this change is to limit the amount of compile
jobs to make sure my machine is still usable for something else when
building a fresh Lix locally.
Also made `build` a dependency of `install`: this is analogous to
`make install` in CppNix where this both recompiles changed files and
installs the artifacts into `outputs/out`. May be a little more pleasant
to work with that, especially when you're used to contributing to
CppNix.
Change-Id: I321e2b0daf1c5e20f82c04e2dd158056c80ed86c
-rw-r--r-- | justfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,13 +6,13 @@ clean: setup: meson setup build --prefix="$PWD/outputs/out" -build: - meson compile -C build +build *OPTIONS: + meson compile -C build {{ OPTIONS }} compile: just build -install: +install *OPTIONS: (build OPTIONS) meson install -C build test *OPTIONS: |