|
@@ -7,7 +7,7 @@ clean:
|
|
DIST:
|
|
DIST:
|
|
mkdir -p DIST
|
|
mkdir -p DIST
|
|
|
|
|
|
-DIST/demo1: DIST
|
|
|
|
|
|
+DIST/demo1: DIST update-ui
|
|
cd go;make
|
|
cd go;make
|
|
cp go/DIST/* DIST/
|
|
cp go/DIST/* DIST/
|
|
|
|
|
|
@@ -23,11 +23,6 @@ dev: clean backend
|
|
tmux split "DEBUG=1 DIST/demo1;$$SHELL"
|
|
tmux split "DEBUG=1 DIST/demo1;$$SHELL"
|
|
cd flow-ui; yarn dev
|
|
cd flow-ui; yarn dev
|
|
|
|
|
|
-builder:
|
|
|
|
- git add -A .
|
|
|
|
- git commit -m "Droning building $$(date)"
|
|
|
|
- git push builder master
|
|
|
|
-
|
|
|
|
test:
|
|
test:
|
|
make -C go test
|
|
make -C go test
|
|
|
|
|
|
@@ -35,8 +30,6 @@ test:
|
|
generate:
|
|
generate:
|
|
make -C go generate
|
|
make -C go generate
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
update-ui: frontend
|
|
update-ui: frontend
|
|
# Needs folder2go tool
|
|
# Needs folder2go tool
|
|
go get github.com/gohxs/folder2go
|
|
go get github.com/gohxs/folder2go
|
|
@@ -46,5 +39,5 @@ update-ui: frontend
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-.PHONY: all clean frontend backend builder generate
|
|
|
|
|
|
+.PHONY: all clean frontend backend builder generate DIST/demo1 update-ui
|
|
|
|
|