From f396c65d5f06596a0db405a02a0804481ff39072 Mon Sep 17 00:00:00 2001 From: osbm Date: Mon, 2 Dec 2024 10:10:51 +0300 Subject: [PATCH] add check-git step --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index dc4328d..e0e90f7 100644 --- a/justfile +++ b/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