From e7357da3f316cf184f99c2aa98d9129ce90e188d Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 14 Mar 2025 20:26:05 +0100 Subject: [PATCH] Add justfile --- .justfile | 16 ++++++++++++++++ flake.nix | 1 + 2 files changed, 17 insertions(+) create mode 100644 .justfile 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/:";