Makefile 243 B

123456789101112131415
  1. BINARY="build/iot_service"
  2. VERSION=1.0.0
  3. BASH_PATH=D:\Programs\Git\bin\bash.exe
  4. export GOARCH=amd64
  5. export GOOS=linux
  6. clear:
  7. $(RM) ${BINARY}
  8. build:
  9. @go build -o ${BINARY} ./
  10. push-test:build
  11. ${BASH_PATH} ./push.sh
  12. .PHONY: build push-test