From f0cb8482711e81335f304c516c26ae5c3ed0edff Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 3 Jun 2024 05:46:16 +0100 Subject: [PATCH] Add copy command to Makefile copy runs build, copy to Legion, then rm result link --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 78e0fd5..2bf106a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: default build switch +.PHONY: default build switch copy default: build @@ -7,3 +7,7 @@ build: switch: nix run . -- switch --flake . --show-trace + +copy: build + nix copy --to ssh://legion ./result + rm ./result