-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (25 loc) · 1.03 KB
/
Makefile
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
.PHONY: lib
OWNER=Web Platform <[email protected]>
SHELL := /bin/bash
.DEFAULT_GOAL := help
co: ## Commit a new change using our wizard
npx sui-mono commit
lint: ## Lint JS, Repository and Sass
npx sui-lint repository $(LINT_REPOSITORY_FLAGS)
npx sui-lint js $(LINT_JS_FLAGS)
npx sui-lint sass
test:
npx -y ultra-runner --raw --recursive test
dev:
npx -y ultra-runner --raw --filter app --recursive dev
precommit: lint
postinstall: ## Execute any prepublishOnly taks in all packages
npx -y ultra-runner --raw --recursive prepublishOnly
prepush: test
phoenix: ## Remove and reinstall all dependencies from internet w/out local cache
rm -Rf node_modules package-lock.json
npm install --cache=/tmp/$(shell date +%s) --no-fund --no-audit --ignore-scripts
ci: ## Install dependecies using package-log
npm ci --include=dev --no-found --no-audit --ignore-scripts
help: ## show help
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'