Makefile 547 B

1234567891011121314151617181920
  1. ##
  2. # linode-event-delivery
  3. #
  4. # @file
  5. # @version 0.1
  6. .PHONY: build
  7. build:
  8. CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o dist/linode-event-sink-slack ./cmd/linode-event-sink-slack
  9. CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o dist/linode-event-source ./cmd/linode-event-source
  10. .PHONY: build-docker
  11. build-docker:
  12. docker build -f build/package/Dockerfile-linode-event-source -t linode-event-source .
  13. docker build -f build/package/Dockerfile-linode-event-sink-slack -t linode-event-sink-slack .
  14. .PHONY: clean
  15. clean:
  16. rm -rf ./dist
  17. # end