Browse Source

front end makefile fixes

luis 6 years ago
parent
commit
5c91ab7f50
1 changed files with 6 additions and 5 deletions
  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}}