2019-09-05 00:44:02 +02:00
|
|
|
.PHONY: build
|
|
|
|
build:
|
2021-04-21 11:02:51 +02:00
|
|
|
go build -o bin/s3manager
|
2017-05-08 23:07:07 +02:00
|
|
|
|
2019-09-05 00:44:02 +02:00
|
|
|
.PHONY: run
|
|
|
|
run:
|
2021-04-21 11:02:51 +02:00
|
|
|
go run
|
2019-09-05 00:44:02 +02:00
|
|
|
|
|
|
|
.PHONY: lint
|
2018-04-14 01:24:20 +02:00
|
|
|
lint:
|
2018-10-27 14:59:59 +02:00
|
|
|
golangci-lint run
|
2018-04-14 01:24:20 +02:00
|
|
|
|
2019-09-05 00:44:02 +02:00
|
|
|
.PHONY: test
|
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
|
|
|
|
2021-08-05 11:44:40 +02:00
|
|
|
.PHONY: build-image
|
|
|
|
build-image:
|
2018-10-27 14:59:59 +02:00
|
|
|
docker build -t s3manager .
|
2017-05-08 23:07:07 +02:00
|
|
|
|
2019-09-05 00:44:02 +02:00
|
|
|
.PHONY: clean
|
2018-10-27 14:59:59 +02:00
|
|
|
clean:
|
2018-11-30 23:09:00 +01:00
|
|
|
rm -rf bin
|