Add test directive to Makefile
This commit is contained in:
parent
879c2750c6
commit
ca42ac6b77
5
Makefile
5
Makefile
|
@ -1,9 +1,12 @@
|
||||||
.PHONY: default build switch
|
.PHONY: default build test switch
|
||||||
|
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
nixos-rebuild build --flake . --show-trace
|
nixos-rebuild build --flake . --show-trace
|
||||||
|
|
||||||
|
test:
|
||||||
|
sudo nixos-rebuild test --flake . --show-trace
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
sudo nixos-rebuild switch --flake . --show-trace
|
sudo nixos-rebuild switch --flake . --show-trace
|
||||||
|
|
Loading…
Reference in a new issue