get rid of ugly makefile

This commit is contained in:
Osman Faruk Bayram 2024-12-02 10:14:04 +03:00
parent 75e2024965
commit 0ed8c9ca81

View file

@ -1,13 +0,0 @@
check-status:
@if [ -n "$$(git status --porcelain)" ]; then \
echo "Error: You have untracked or modified files. Please commit or stash your changes."; \
exit 1; \
fi
echo "Git is clean. :)"
build: check-status
sudo nixos-rebuild switch --flake .
.PHONY: check-status build