makefile 529 B

1234567891011121314151617181920212223242526272829
  1. .DEFAULT_GOAL := everything
  2. dependencies:
  3. @echo Downloading Dependencies
  4. @go get ./...
  5. build: dependencies
  6. @echo Compiling Apps
  7. @echo --- jrpcserver
  8. @go build infrastructure/application/jrpcserver.go
  9. @go install infrastructure/application/jrpcserver.go
  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
  22. @go run jrpcserver.go