1234567891011121314151617181920212223242526272829303132333435363738 |
- all: DIST/{{.projName}}
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/{{.projName}}: DIST
- cd go;make
- cp go/DIST/* DIST/
- frontend/node_modules:
- cd frontend; yarn; yarn -D
- frontend/dist: frontend/node_modules
- cd frontend; yarn build
- backend: DIST/{{.projName}}
- frontend: frontend/dist
- dev: clean backend frontend
- tmux split "DEBUG=1 DIST/{{.projName}};$$SHELL"
- cd frontend; yarn start
- test:
- make -C go test
- generate:
- make -C go generate
- .PHONY: all clean backend builder generate DIST/{{.projName}}
|