-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
47 lines (39 loc) · 945 Bytes
/
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
37
38
39
40
41
42
43
44
45
46
47
#: help - Display callable targets (this help information)
help:
@echo "Reference card for usual actions in development environment."
@echo "Here are available targets:"
@egrep -o "^#: (.+)" [Mm]akefile | sed 's/#: /* /'
.PHONY: help
#: start - start development server
start:
yarn start
.PHONY: start
#: stop - does nothing
stop:
@echo "nothing to stop"
.PHONY: stop
#: destroy - does nothing
destroy:
@echo "nothing to destroy"
.PHONY: destroy
#: lint - runs typescript, eslint, and prettier to check for any type errors, style errors, or formatting errors
lint:
yarn lint
.PHONY: lint
#: fmt - run prettier to auto format code
fmt:
yarn fmt
.PHONY: fmt
#: test - runs vitest on codebase
test:
yarn test
.PHONY: test
#: clean - removes any files created during installation or development
clean:
rm -rf node_modules
rm *.log
.PHONY: clean
#: build - builds production assets for deployment
build:
yarn build
.PHONY: build