Прикинул метод Open и Delete, Update пока не до делал. Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru> Reviewed-on: #9 Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru> Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
21 lines
522 B
Makefile
21 lines
522 B
Makefile
.PHONY: build
|
|
build:
|
|
CGO_ENABLED=0 go build -o bin/app -mod=readonly git.unistack.org/unistack-org/pkgdash/cmd/pkgdash
|
|
|
|
.PHONY: buildcli
|
|
buildcli:
|
|
CGO_ENABLED=0 go build -o bin/app -mod=readonly git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
|
|
|
|
.PHONY: cli
|
|
cli:
|
|
go install git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test -v ./... -race -cover
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
# Install the binary release of golangci-lint
|
|
# https://github.com/golangci/golangci-lint#install
|
|
golangci-lint run
|