-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
26 lines (17 loc) · 709 Bytes
/
Copy pathmakefile
File metadata and controls
26 lines (17 loc) · 709 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
.PHONY: build help
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install all dependencies
yarn
start-playground: ## Start the playground
@cd ./packages/playground && yarn dev
start-fake-api: ## Start the fake API
@cd ./packages/demo-fake-api && yarn start
build-playground: ## Build the playground
@cd ./packages/playground && yarn build
test-playground: ## Test the playground
@cd ./packages/playground && yarn test
start: ## Start all
@(trap 'kill 0' INT; ${MAKE} start-fake-api & ${MAKE} start-playground)
build: build-playground ## Build all
test: test-playground ## Test all