forked from govau/notify-client-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (27 loc) · 641 Bytes
/
Copy pathMakefile
File metadata and controls
38 lines (27 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.DEFAULT_GOAL := help
NPM ?= npm
SHELL := /bin/bash
help:
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install-ci:
$(NPM) ci
fmt:
$(NPM) run fmt
install:
$(NPM) install --production
install-dev:
$(NPM) install
build:
$(NPM) run build ## Build project
test: ## Run tests
$(NPM) test
integration-test: ## Run integration tests
$(NPM) test --integration
publish:
$(NPM) publish --access public
clean:
$(NPM) run clean
.PHONY:
install install-dev build \
test integration-test publish \
install-ci clean