s3manager-web/Makefile
2018-05-27 23:11:52 +02:00

17 lines
325 B
Makefile

.PHONY: all lint test build-docker deploy-cf
all:
go build ./cmd/s3manager
lint:
gometalinter --vendor ./...
test:
go test -race -cover ./...
build-docker:
docker build -f build/docker/Dockerfile -t s3manager .
deploy-cf:
GOOS=linux go build -ldflags="-s -w" ./cmd/s3manager
cf push -f deployments/cf/manifest.yml