-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (43 loc) · 946 Bytes
/
Makefile
File metadata and controls
54 lines (43 loc) · 946 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
CSS_INPUT=tailwind.css
CSS_OUTPUT=resources/public/css/hs_ui.css
.PHONY: npm-install
npm-install:
npm install
.PHONY: init
init:
make npm-install
.PHONY: deinit
deinit:
rm -rf node_modules
rm -rf package-lock.json
rm -rf .cpcache
rm -rf .shadow-cljs
rm -rf resources/public/js/storybook
rm -rf resources/public/js/components
rm -rf "$(CSS_OUTPUT)"
.PHONY: tailwind-watch
tailwind-watch:
npx tailwindcss -i "$(CSS_INPUT)" -o "$(CSS_OUTPUT)" --watch
.PHONY: tailwind-release
tailwind-release:
npx tailwindcss -i "$(CSS_INPUT)" -o "$(CSS_OUTPUT)"
.PHONY: shadow-watch
shadow-watch:
clojure -M:shadow watch components storybook
.PHONY: shadow-release
shadow-release:
clojure -M:shadow release components storybook
.PHONY: story
story:
npx storybook dev -p 5535
.PHONY: dev
dev:
make shadow-watch
.PHONY: build
build:
make shadow-release
make tailwind-release
.PHONY: pages
pages:
make build
npx storybook build -o _site