Loading makefile +1 −11 Original line number Diff line number Diff line Loading @@ -38,14 +38,4 @@ out/style: clean: rm -rf out # deploy-test-target/deploy-target should be a file containing DEPLOY_TARGET definition. deploy-test: all $(eval DEPLOY_TARGET=$(shell cat deploy-test-target)) $(RSYNC_DEPLOY) out/. $(DEPLOY_TARGET) deploy: all deploy-check $(eval DEPLOY_TARGET=$(shell cat deploy-target)) $(RSYNC_DEPLOY) out/. $(DEPLOY_TARGET) deploy-check: @echo -n "Deploying to production. Are you sure? [y/N] " && read ans && [ $${ans:-N} == y ] .PHONY: all style clean deploy .PHONY: all style clean Loading
makefile +1 −11 Original line number Diff line number Diff line Loading @@ -38,14 +38,4 @@ out/style: clean: rm -rf out # deploy-test-target/deploy-target should be a file containing DEPLOY_TARGET definition. deploy-test: all $(eval DEPLOY_TARGET=$(shell cat deploy-test-target)) $(RSYNC_DEPLOY) out/. $(DEPLOY_TARGET) deploy: all deploy-check $(eval DEPLOY_TARGET=$(shell cat deploy-target)) $(RSYNC_DEPLOY) out/. $(DEPLOY_TARGET) deploy-check: @echo -n "Deploying to production. Are you sure? [y/N] " && read ans && [ $${ans:-N} == y ] .PHONY: all style clean deploy .PHONY: all style clean