mirror of
https://github.com/FranzDiebold/github-env-vars-action.git
synced 2024-11-28 19:51:01 -05:00
19 lines
409 B
Makefile
19 lines
409 B
Makefile
.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 dependencies.
|
|
npm install
|
|
|
|
.PHONY: lint
|
|
lint: ## Lint code.
|
|
npm run lint
|
|
|
|
.PHONY: test
|
|
test: ## Run tests.
|
|
npm run test
|
|
|
|
.PHONY: build
|
|
build: ## Build code for distribution.
|
|
npm run build
|