Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
nightly build flag (#158)
Browse files Browse the repository at this point in the history
* nightly build flag

* Update Makefile
  • Loading branch information
wheresrhys authored Feb 24, 2017
1 parent b778f43 commit 4a105ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,11 @@ hel%: ## help: Show this help message.
@echo ""
@echo "targets:"
@grep -Eh '^.+:\ ##\ .+' ${MAKEFILE_LIST} | cut -d ' ' -f '3-' | column -t -s ':'

# Wrapper for make deploy which prevents it running when build is a nightly
deploy-by-day:
ifeq ($(FT_NIGHTLY_BUILD),)
$(MAKE) deploy
else
echo "Nightly build - exiting before deploy"
endif

0 comments on commit 4a105ad

Please sign in to comment.