]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blobdiff - Makefile
Reorganize files
[perso/Immae/Config/Nix/NUR.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..f4bb3f5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+subrecipes = setup ssh-eldiron info debug dry-run build upload deploy reboot push pull pull-deployment list-generations delete-generations cleanup
+${subrecipes}:
+       @$(MAKE) --no-print-directory -C nixops/ $@
+
+env:
+       ./scripts/make-env
+
+env-dry-run:
+       ./scripts/make-env --dry-run
+
+nix-info:
+       NIXOPS_DEPLOYMENT="" ./scripts/nix_infos
+
+nix-info-nixops:
+       NIXOPS_DEPLOYMENT="n" ./scripts/nix_infos
+
+nur:
+       ./scripts/make-nur
+
+.PHONY: env env-dry-run nix-info nix-info-nixops