2017-01-16 15:06:10 +01:00
|
|
|
all: test build publish
|
|
|
|
|
|
|
|
test:
|
|
|
|
go vet
|
|
|
|
go test -cover -coverprofile=coverage.out
|
|
|
|
|
|
|
|
build:
|
|
|
|
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
|
|
|
|
docker build -t drillster/drone-email:latest .
|
|
|
|
|
|
|
|
publish:
|
2017-01-17 10:58:35 +01:00
|
|
|
bash publish.sh
|