23 lines
258 B
Makefile
23 lines
258 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-image
|
|
build-image:
|
|
docker build -t s3manager .
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf bin
|