gocron/makefile

22 lines
231 B
Makefile
Raw Normal View History

2018-02-04 03:28:48 +00:00
2018-03-25 05:12:12 +00:00
default: build
2018-02-04 03:28:48 +00:00
2018-03-25 05:12:12 +00:00
.PHONY: build
2018-02-04 03:28:48 +00:00
build: gocron node
2018-03-25 05:12:12 +00:00
.PHONY: gocron
2018-02-04 03:28:48 +00:00
gocron:
go build -o bin/gocron ./cmd/gocron
2018-03-25 05:12:12 +00:00
.PHONY: node
2018-02-04 03:28:48 +00:00
node:
go build -o bin/gocron-node ./cmd/node
2018-03-25 05:12:12 +00:00
.PHONY: clean
2018-02-04 03:28:48 +00:00
clean:
rm bin/gocron
rm bin/gocron-node