my fork of profit's annoy-antiroach bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
317 B

  1. BUILDVARS := CGO_ENABLED=0
  2. .PHONY: swarm
  3. swarm:
  4. $(BUILDVARS) go build -o swarm cmd/swarm/main.go
  5. .PHONY: linux
  6. linux:
  7. $(BUILDVARS) GOOS=linux GOARCH=amd64 go build -o swarm cmd/swarm/main.go
  8. .PHONY: clean
  9. clean:
  10. rm -vf swarm
  11. .PHONY: image
  12. image: linux
  13. docker build -t dockermirror:5000/dpedu/antiroachswarm .