forked from 1Password/op-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 777 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (22 loc) · 777 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
.PHONY: help
help: ## List available commands and their actions
@printf "\033[1;33mUsage:\033[0m\n make <command>\n\n"
@printf "\033[1;33m%-20s%s\033[0m\n" "Command" "Action"
@eval $$(sed -E -n 's/^([a-zA-Z0-9_-]+):.*## (.*)$$/printf "%-20s%s\\n" " \1" " \2" ;/p; s/^([a-zA-Z0-9_-]+) ([a-zA-Z0-9_-]+):.*## (.*)$$/printf "%-20s%s\\n" " \1 OR \2" " \3" ;/p' $(MAKEFILE_LIST) | sort | uniq)
.PHONY: build
build: ## Build source code for production
yarn build
.PHONY: watch
watch: ## Build the extension whenever files change
yarn watch
.PHONY: install i
install i: ## Install project dependencies
yarn
.PHONY: analysis
analysis: ## Run static analysis checks against all files
yarn eslint
yarn prettier
yarn typecheck
.PHONY: test
test: ## Run test suite
yarn test