new targets

This commit is contained in:
Don Harper 2024-02-01 07:17:00 -06:00
parent 9eb2fd5915
commit 7b3d900430

View file

@ -1,5 +1,9 @@
HOSTNAME := $(shell hostname -s)
UNAME_S := $(shell uname -s)
UNAME_M := $(shell uname -m)
all: all:
doas nixos-rebuild switch --flake .#$${HOSTNAME_SHORT} doas nixos-rebuild switch --flake .#${HOSTNAME}
weekly: pull clean update ci all push weekly: pull clean update ci all push
@ -28,3 +32,9 @@ pull:
ci: ci:
git commit -m"updates from makefile" --all git commit -m"updates from makefile" --all
check:
@nix flake check --show-trace $(ARGS)
test: check
doas nixos-rebuild dry-build --flake ./#$(HOSTNAME)