Explorar o código

front end makefile fixes

luis %!s(int64=6) %!d(string=hai) anos
pai
achega
5c91ab7f50
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      Makefile.boiler

+ 6 - 5
Makefile.boiler

@@ -13,15 +13,16 @@ DIST/{{.binary}}: DIST
 
 
 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
 
 
 backend: DIST/{{.binary}}
-frontend: {{.frontend}}/dist
+frontend: frontend/dist
 
-dev: clean backend
+dev: clean backend frontend
 	tmux split "DEBUG=1 DIST/{{.binary}};$$SHELL"
 	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}}