-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b934cf
commit d523dbf
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |