2018-01-02 17:43:52 +01:00
|
|
|
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
|
2018-01-25 10:50:52 +01:00
|
|
|
@sh mksh/install.sh $(ENV)
|
2018-01-02 17:43:52 +01:00
|
|
|
|
|
|
|
update: ## Update the installation to the latest version
|
2018-01-25 10:50:52 +01:00
|
|
|
@sh mksh/update.sh $(ENV)
|
2018-01-02 17:43:52 +01:00
|
|
|
|
|
|
|
dev: ## Install the latest dev version
|
2018-01-25 10:50:52 +01:00
|
|
|
@sh mksh/dev.sh
|
2018-01-02 17:43:52 +01:00
|
|
|
|
2018-01-04 16:25:26 +01:00
|
|
|
.PHONY: help clean install update dev
|
2018-01-02 17:43:52 +01:00
|
|
|
|
|
|
|
.DEFAULT_GOAL := install
|