From 81e6bde56b704d85f813bb439be5fe1e5b76f10d Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 15 Mar 2025 14:43:03 -0700 Subject: [PATCH] feat: Add testing Justfile recipes --- Justfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Justfile b/Justfile index b47a85b..8c9332a 100644 --- a/Justfile +++ b/Justfile @@ -1,3 +1,20 @@ +default: testBoth + [working-directory: 'packages/npm-modules'] genNpmModules: nix run nixpkgs#node2nix -- -i packages.json + +test: + git add --all && nix run . + +testNix: + git add --all && nix run . -- flake.nix + +testLua: + git add --all && nix run . -- init.lua + +testBoth: + git add --all && nix run . -- flake.nix init.lua + +testFile +files: + git add --all && nix run . -- {{files}}