mirror of https://github.com/veops/cmdb.git
parent
eb9c20a295
commit
32227d375a
4
Makefile
4
Makefile
|
@ -1,11 +1,11 @@
|
||||||
MYSQL_ROOT_PASSWORD ?= root
|
MYSQL_ROOT_PASSWORD ?= root
|
||||||
|
|
||||||
default: help
|
default: help
|
||||||
help: ## Display this help
|
help: ## display this help
|
||||||
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
|
|
||||||
env: ## Create a development environment using pipenv
|
env: ## create a development environment using pipenv
|
||||||
sudo easy_install pip && \
|
sudo easy_install pip && \
|
||||||
pip install pipenv -i https://pypi.douban.com/simple && \
|
pip install pipenv -i https://pypi.douban.com/simple && \
|
||||||
npm install yarn && \
|
npm install yarn && \
|
||||||
|
|
Loading…
Reference in New Issue