s3manager-web/Makefile
2018-08-08 21:46:33 +02:00

17 lines
342 B
Makefile

.PHONY: all lint test build-docker deploy-cf
all:
go build ./cmd/s3manager
lint:
golangci-lint run --enable-all --disable lll
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