bebeboutik-scripts/Makefile
2018-01-03 12:28:18 +01:00

23 lines
579 B
Makefile

TMP_FOLDER=/tmp
RELEASE_FOLDER=release
ENV ?= prod
help: ## Display this help menu
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
clean: ## Clear the application cache
rm -rf var/cache/*
install: ## Install with the latest version
@sh scripts/install.sh $(ENV)
update: ## Update the installation to the latest version
@sh scripts/update.sh $(ENV)
dev: ## Install the latest dev version
@sh scripts/dev.sh
.PHONY: help clean install update release dev
.DEFAULT_GOAL := install