|
@@ -13,15 +13,16 @@ DIST/{{.binary}}: DIST
|
|
|
|
|
|
|
|
|
|
frontend/node_modules:
|
|
frontend/node_modules:
|
|
- cd frontend; yarn
|
|
|
|
-frontend/dist: flow-ui/node_modules
|
|
|
|
|
|
+ cd frontend; yarn; yarn -D
|
|
|
|
+
|
|
|
|
+frontend/dist: frontend/node_modules
|
|
cd frontend; yarn build
|
|
cd frontend; yarn build
|
|
|
|
|
|
|
|
|
|
backend: DIST/{{.binary}}
|
|
backend: DIST/{{.binary}}
|
|
-frontend: {{.frontend}}/dist
|
|
|
|
|
|
+frontend: frontend/dist
|
|
|
|
|
|
-dev: clean backend
|
|
|
|
|
|
+dev: clean backend frontend
|
|
tmux split "DEBUG=1 DIST/{{.binary}};$$SHELL"
|
|
tmux split "DEBUG=1 DIST/{{.binary}};$$SHELL"
|
|
cd frontend; yarn dev
|
|
cd frontend; yarn dev
|
|
|
|
|
|
@@ -33,5 +34,5 @@ generate:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-.PHONY: all clean frontend backend builder generate DIST/{{.binary}}
|
|
|
|
|
|
+.PHONY: all clean backend builder generate DIST/{{.binary}}
|
|
|
|
|