feat: Add testing Justfile recipes
This commit is contained in:
parent
d86523bb1e
commit
81e6bde56b
1 changed files with 17 additions and 0 deletions
17
Justfile
17
Justfile
|
@ -1,3 +1,20 @@
|
||||||
|
default: testBoth
|
||||||
|
|
||||||
[working-directory: 'packages/npm-modules']
|
[working-directory: 'packages/npm-modules']
|
||||||
genNpmModules:
|
genNpmModules:
|
||||||
nix run nixpkgs#node2nix -- -i packages.json
|
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}}
|
||||||
|
|
Loading…
Reference in a new issue