s3manager-web/Makefile
2021-04-21 11:02:51 +02:00

28 lines
385 B
Makefile

.PHONY: build
build:
go build -o bin/s3manager
.PHONY: run
run:
go run
.PHONY: lint
lint:
golangci-lint run
.PHONY: test
test:
go test -race -cover ./...
.PHONY: build-docker
build-docker:
docker build -t s3manager .
.PHONY: deploy-cf
deploy-cf:
GOOS=linux go build -ldflags="-s -w" -o bin/s3manager
cf push -f deployments/cf/manifest.yml
.PHONY: clean
clean:
rm -rf bin