Add copy command to Makefile

copy runs build, copy to Legion, then rm result link
This commit is contained in:
Evie Litherland-Smith 2024-06-03 05:38:03 +01:00
parent 010f0f6fc3
commit ff92181337

View file

@ -1,4 +1,4 @@
.PHONY: default build test switch boot
.PHONY: default build test switch boot copy
default: build
@ -13,3 +13,7 @@ switch:
boot:
sudo nixos-rebuild boot --flake . --show-trace
copy: build
nix copy --to ssh://legion ./result
rm ./result