aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBen Woodward <ben@bdw.to>2021-07-15 09:01:18 -0700
committerGitHub <noreply@github.com>2021-07-15 09:01:18 -0700
commit2b86e3fdaf735588d23709ddcdb89b093f6396dd (patch)
treee9443f53d99fc4ece965ebd2922b4a9557f384e8 /Makefile
parent210433598a3072ed0ade022a580ac4522e491c01 (diff)
Add make targets for prettier formatting (#50)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ac82a2..28b8537 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,14 @@ dev:
14 yarn 14 yarn
15 yarn start 15 yarn start
16 16
17.PHONY: fmt
18fmt:
19 npx prettier --check . '!**/*.min.{css,js}'
20
21.PHONY: fmt.write
22fmt.write:
23 npx prettier --write . '!**/*.min.{css,js}'
24
17.PHONY: run 25.PHONY: run
18run: 26run:
19 docker run --rm -p 8080:80 $(TAG_LATEST) 27 docker run --rm -p 8080:80 $(TAG_LATEST)