expand justfile

This commit is contained in:
xqtc161 2024-07-01 22:10:21 +02:00
parent c38b17ac75
commit 3e88182cf0
2 changed files with 11 additions and 6 deletions

View file

@ -380,11 +380,11 @@
},
"nixpkgs-master": {
"locked": {
"lastModified": 1719832789,
"narHash": "sha256-oilhzD/KrAa8j23PfMYeQXgpZ4nyQniNIB/HpLkvcBQ=",
"lastModified": 1719863125,
"narHash": "sha256-sidtm9qEgkIHaW6cXRLPRsizVgTkUZEz9qv4ViMz+aA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e4209dd43baaa8469cba3c6d366b5481d3f8af5",
"rev": "71b8797926a6f12c3fed2a264352c04eff962a43",
"type": "github"
},
"original": {
@ -488,11 +488,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1719825521,
"narHash": "sha256-UYHUtwQuoEi45NUSagEbdVQffKgEFLo3yBIcukoK07s=",
"lastModified": 1719860300,
"narHash": "sha256-ZeF+zI+/53HeS567/mXS2Gw+w8k9FsjRC/TzoVQOpi4=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "55a45b6713e77f2ade6271c837645a62444453ad",
"rev": "079c2c479b5707adf0b03f817be30945c92c15cf",
"type": "github"
},
"original": {

View file

@ -28,6 +28,7 @@ beleth:
update:
nix flake update
@just test
test target="":
#!/usr/bin/env bash
@ -37,6 +38,7 @@ test target="":
if [ "$target" == "" ]; then
nix flake check;
nix store gc;
exit
fi
@ -49,3 +51,6 @@ test target="":
done
echo "Target '$target' does not exist in the NixOS configurations."
gc profile="all":
nh clean {{profile}}