s3manager-web/Makefile

18 lines
319 B
Makefile
Raw Normal View History

2018-04-24 22:35:21 +02:00
.PHONY: all lint test build-docker deploy-cf
2017-05-08 23:07:07 +02:00
all:
2018-04-24 22:35:21 +02:00
go build ./cmd/...
2017-05-08 23:07:07 +02:00
lint:
2018-04-24 22:35:21 +02:00
gometalinter --vendor ./...
2017-05-08 23:07:07 +02:00
test:
2018-04-24 22:35:21 +02:00
go test -race -cover ./...
2017-05-08 23:07:07 +02:00
build-docker:
2018-04-24 22:35:21 +02:00
docker build -f build/docker/Dockerfile -t s3manager .
2017-05-08 23:07:07 +02:00
deploy-cf:
2018-04-24 22:35:21 +02:00
GOOS=linux go build -ldflags="-s -w" ./cmd/s3manager
2018-03-14 21:53:35 +01:00
cf push -f deployments/cf/manifest.yml