-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (43 loc) · 3.75 KB
/
Copy pathMakefile
File metadata and controls
57 lines (43 loc) · 3.75 KB
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
55
56
57
.PHONY: build clean-build dev run lint build-app-main build-app-iframe-demo build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist
build: build-app-main build-app-iframe-demo build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist
build-app-main:
cd frontend/applications/main && npm install && npm run build -- --outDir ../../../static/app/main --emptyOutDir
build-app-iframe-demo:
cd frontend/applications/iframe-demo && npm install && npm run build -- --outDir ../../../static/app/iframe-demo --emptyOutDir
build-wc-reaction-bar:
cd frontend/web-components/reaction-bar && npm install && npm run build -- --outDir ../../../static/wc/reaction-bar --emptyOutDir
build-wc-websocket-log:
cd frontend/web-components/websocket-log && npm install && npm run build -- --outDir ../../../static/wc/websocket-log --emptyOutDir
build-wc-chart-circle:
cd frontend/web-components/chart-circle && npm install && npm run build -- --outDir ../../../static/wc/chart-circle --emptyOutDir
build-wc-mermaid:
cd frontend/web-components/mermaid && npm install && npm run build -- --outDir ../../../static/wc/mermaid --emptyOutDir
build-wc-markdown:
cd frontend/web-components/markdown && npm install && npm run build -- --outDir ../../../static/wc/markdown --emptyOutDir
build-wc-model-gallery:
cd frontend/web-components/model-gallery && npm install && npm run build -- --outDir ../../../static/wc/model-gallery --emptyOutDir
build-wc-counter-persist:
cd frontend/web-components/counter-persist && npm install && npm run build -- --outDir ../../../static/wc/counter-persist --emptyOutDir
lint:
cd frontend/applications/main && npm run lint
cd frontend/web-components/reaction-bar && npm run lint
cd frontend/web-components/websocket-log && npm run lint
cd frontend/web-components/chart-circle && npm run lint
cd frontend/web-components/mermaid && npm run lint
cd frontend/web-components/markdown && npm run lint
cd frontend/web-components/model-gallery && npm run lint
cd frontend/web-components/counter-persist && npm run lint
clean-build:
cd frontend/applications/main && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/app/main --emptyOutDir
cd frontend/applications/iframe-demo && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/app/iframe-demo --emptyOutDir
cd frontend/web-components/reaction-bar && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/reaction-bar --emptyOutDir
cd frontend/web-components/websocket-log && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/websocket-log --emptyOutDir
cd frontend/web-components/chart-circle && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/chart-circle --emptyOutDir
cd frontend/web-components/mermaid && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/mermaid --emptyOutDir
cd frontend/web-components/markdown && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/markdown --emptyOutDir
cd frontend/web-components/model-gallery && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/model-gallery --emptyOutDir
cd frontend/web-components/counter-persist && rm -rf node_modules package-lock.json && npm install && npm run build -- --outDir ../../../static/wc/counter-persist --emptyOutDir
dev:
cd frontend/applications/main && npm run dev
run: build
./wippy run -c