makefile 658 B

1234567891011121314151617181920212223242526272829
  1. .DEFAULT_GOAL := everything
  2. dependencies:
  3. @echo Downloading Dependencies
  4. @go get ./...
  5. build: dependencies
  6. @echo Compiling Apps
  7. @echo --- git.riomhaire.com/gremlin/jrpcserver
  8. @go build git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
  9. @go install git.riomhaire.com/gremlin/jrpcserver/infrastructure/application/riomhaire/jrpcserver
  10. @echo Done Compiling Apps
  11. test:
  12. @echo Running Unit Tests
  13. @go test ./...
  14. clean:
  15. @echo Cleaning
  16. @go clean
  17. @find . -name "debug.test" -exec rm -f {} \;
  18. everything: clean build test
  19. @echo Done
  20. devrun:
  21. @cd infrastructure/application/riomhaire/jrpcserver
  22. @go run main.go