-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 761 Bytes
/
Makefile
File metadata and controls
27 lines (20 loc) · 761 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
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install the project's dependencies
npm install
test: ## Run the project's tests
npm run test
standard: ## Format the project's source code with StandardJS
npx standard@next --verbose --fix
push: ## Push git repository with its tags
git push && git push --tags
updates: ## Check available dependency updates
npx npm-check-updates
upgrade: ## Upgrade project's dependecies
npx npm-check-updates --upgrade
npm install
gitmessage: ## Add .gitmessage file as git commit template
touch .gitmessage
echo "\n# commit message\n.gitmessage" >> .gitignore
git config commit.template .gitmessage