add check-git step
This commit is contained in:
parent
b7a926cfa9
commit
f396c65d5f
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
|
@ -2,6 +2,11 @@ _default:
|
|||
@just --list --unsorted
|
||||
|
||||
|
||||
check-git:
|
||||
# output of the git status --porcelain must be empty
|
||||
test -z "$(git status --porcelain)"
|
||||
|
||||
|
||||
[linux]
|
||||
build *args:
|
||||
sudo nixos-rebuild build --flake . {{args}} |& nom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue