12345678910111213141516171819 |
- all: build
- build:
- GOPATH=${CURDIR}/deps:${CURDIR} GO_ENABLED=0 go build -o ../DIST/bin/server src/simple-web/simple-web.go
- @#GOPATH=${CURDIR} GO_ENABLED=0 go build -o ../DIST/bin/server src/simple-web/simple-web.go
- # Previously
- deps:
- @mkdir -p deps
- GOPATH=${CURDIR}/deps:${CURDIR} go get -v simple-web
- test:
- cd ../DIST;tmux split "DBHOST=localhost PORT=8080 DEVMODE=1 bin/server"
- clean:
- @rm -rf bin deps pkg
- .PHONY: build deps test
|