mirror of
https://github.com/FranzDiebold/github-env-vars-action.git
synced 2024-12-27 17:34:51 -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
|
||||
install:
|
||||
install: ## Install dependencies.
|
||||
npm install
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
lint: ## Lint code.
|
||||
npm run lint
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
test: ## Run tests.
|
||||
npm run test
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
build: ## Build code for distribution.
|
||||
npm run build
|
||||
|
|
Loading…
Reference in a new issue