diff --git a/.justfile b/.justfile new file mode 100644 index 0000000..9761c14 --- /dev/null +++ b/.justfile @@ -0,0 +1,16 @@ +# Hide the default option from the recipes list +_default: + @just --list + + +setup: + cmake -B build/ --install-prefix ~/.local -DCMAKE_EXPORT_COMPILE_COMMANDS=1 + +build: + cmake --build build/ -j `nproc` + +install: + cmake --install build/ + +uninstall: + cmake --build build/ --target uninstall diff --git a/flake.nix b/flake.nix index 6d3f0ed..c38cfe5 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ with pkgs; [ clang-tools cmake + just ] ++ kdeDeps; # QMLLS_BUILD_DIRS = "${pkgs.kdePackages.qtdeclarative}/lib/qt-6/qml/:";