1234567891011121314151617181920212223242526272829303132333435363738 |
- all: DIST/goreact
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/goreact: 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/goreact
- frontend: frontend/dist
- dev: clean backend frontend
- tmux split "DEBUG=1 DIST/goreact;$$SHELL"
- cd frontend; yarn start
- test:
- make -C go test
- generate:
- make -C go generate
- .PHONY: all clean backend builder generate DIST/goreact
|