From a6d56b4444198e2cec98667008441ff4b3a90280 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 19 Aug 2015 16:36:31 +0200 Subject: [PATCH] Move Makefile to infra repo --- Makefile | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index a625bcb..0000000 --- a/Makefile +++ /dev/null @@ -1,49 +0,0 @@ - -.PHONY: deploy-infra -deploy-infra: - # Sets up all local & remote dependencies. Useful for first-time uses - # and to apply infra / software changes. - @git checkout master - @test -z "$$(git status --porcelain)" || (echo "Please first commit/clean your Git working directory" && false) - @git pull - source env.sh && ./control.sh prepare - -.PHONY: deploy-infra-unsafe -deploy-infra-unsafe: - # Sets up all local & remote dependencies. Useful for first-time uses - # and to apply infra / software changes. - # Does not check git index - @git checkout master - @git pull - source env.sh && ./control.sh prepare - -.PHONY: deploy -deploy: - # For regular use. Just uploads the code and restarts the services - @git checkout master - @test -z "$$(git status --porcelain)" || (echo "Please first commit/clean your Git working directory" && false) - @git pull - source env.sh && ./control.sh install - -.PHONY: deploy-unsafe -deploy-unsafe: - # Does not check git index - @git checkout master - @git pull - source env.sh && ./control.sh install - -.PHONY: backup -backup: - source env.sh && ./control.sh backup - -.PHONY: restore -restore: - source env.sh && ./control.sh restore - -.PHONY: facts -facts: - source env.sh && ./control.sh facts - -.PHONY: console -console: - source env.sh && ./control.sh remote