mirror of
https://github.com/FranzDiebold/github-env-vars-action.git
synced 2024-11-26 10:41:06 -05:00
Improve Makefile: Add help texts.
This commit is contained in:
parent
e59d29ab3b
commit
2858253253
1 changed files with 8 additions and 4 deletions
12
Makefile
12
Makefile
|
@ -1,15 +1,19 @@
|
||||||
|
.PHONY: help
|
||||||
|
help: ## Show this help.
|
||||||
|
@egrep '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-22s\033[0m %s\n", $$1, $$2}'
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: ## Install dependencies.
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint: ## Lint code.
|
||||||
npm run lint
|
npm run lint
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test: ## Run tests.
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build: ## Build code for distribution.
|
||||||
npm run build
|
npm run build
|
||||||
|
|
Loading…
Reference in a new issue