Jelajahi Sumber

front end makefile fixes

luis 6 tahun lalu
induk
melakukan
5c91ab7f50
1 mengubah file dengan 6 tambahan dan 5 penghapusan
  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}}