2023-08-11 20:12:15 +03:00
|
|
|
.PHONY: build
|
|
|
|
build:
|
2024-12-07 02:35:30 +03:00
|
|
|
GOWORK=off CGO_ENABLED=0 go build -o bin/pkgdash -mod=readonly go.unistack.org/pkgdash/cmd/pkgdash
|
|
|
|
GOWORK=off CGO_ENABLED=0 go build -o bin/pkgdashcli -mod=readonly go.unistack.org/pkgdash/cmd/pkgdashcli
|
2024-03-24 20:52:32 +03:00
|
|
|
|
2024-04-02 22:54:15 +03:00
|
|
|
.PHONY: buildcli
|
|
|
|
buildcli:
|
2024-12-07 02:35:30 +03:00
|
|
|
CGO_ENABLED=0 go build -o bin/app -mod=readonly go.unistack.org/pkgdash/cmd/pkgdashcli
|
2024-04-02 22:54:15 +03:00
|
|
|
|
|
|
|
.PHONY: cli
|
|
|
|
cli:
|
2024-12-07 02:35:30 +03:00
|
|
|
go install go.unistack.org/pkgdash/cmd/pkgdashcli
|
2024-04-02 22:54:15 +03:00
|
|
|
|
2023-08-11 20:12:15 +03:00
|
|
|
.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
|