add check-git step

This commit is contained in:
Osman Faruk Bayram 2024-12-02 10:10:51 +03:00
parent b7a926cfa9
commit f396c65d5f

View file

@ -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