Compare commits
1 commit
main
...
sb/rbt/jus
Author | SHA1 | Date | |
---|---|---|---|
|
91c4f54a6d |
2 changed files with 22 additions and 1 deletions
|
@ -346,7 +346,9 @@
|
||||||
officialRelease = false;
|
officialRelease = false;
|
||||||
}).overrideAttrs (prev: {
|
}).overrideAttrs (prev: {
|
||||||
# Required for clang-tidy checks
|
# Required for clang-tidy checks
|
||||||
buildInputs = prev.buildInputs ++ lib.optionals (stdenv.cc.isClang) [ pkgs.llvmPackages.llvm pkgs.llvmPackages.clang-unwrapped.dev ];
|
buildInputs = prev.buildInputs
|
||||||
|
++ [pkgs.just]
|
||||||
|
++ lib.optionals (stdenv.cc.isClang) [ pkgs.llvmPackages.llvm pkgs.llvmPackages.clang-unwrapped.dev ];
|
||||||
nativeBuildInputs = prev.nativeBuildInputs
|
nativeBuildInputs = prev.nativeBuildInputs
|
||||||
++ lib.optional (stdenv.cc.isClang && !stdenv.buildPlatform.isDarwin) pkgs.buildPackages.bear
|
++ lib.optional (stdenv.cc.isClang && !stdenv.buildPlatform.isDarwin) pkgs.buildPackages.bear
|
||||||
# Required for clang-tidy checks
|
# Required for clang-tidy checks
|
||||||
|
|
19
justfile
Normal file
19
justfile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# https://just.systems/man/en/
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
|
setup:
|
||||||
|
meson setup build --prefix="$PWD/outputs/out"
|
||||||
|
|
||||||
|
build:
|
||||||
|
meson compile -C build
|
||||||
|
|
||||||
|
compile:
|
||||||
|
just build
|
||||||
|
|
||||||
|
install:
|
||||||
|
meson install -C build
|
||||||
|
|
||||||
|
test *OPTIONS:
|
||||||
|
meson test -C build --print-errorlogs --quiet {{ OPTIONS }}
|
Loading…
Reference in a new issue