s3manager-web/Makefile
2018-04-27 17:56:58 +02:00

17 lines
319 B
Makefile

.PHONY: all lint test build-docker deploy-cf
all:
go build ./cmd/...
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