s3manager-web/Makefile
2018-09-06 21:41:49 +02:00

18 lines
368 B
Makefile

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