mirror of
https://github.com/paralus/paralus.git
synced 2026-02-14 17:49:51 +00:00
30 lines
358 B
Makefile
30 lines
358 B
Makefile
.PHONY: tidy
|
|
tidy:
|
|
GOPRIVATE=github.com/RafayLabs/* go mod tidy
|
|
.PHONY: vendor
|
|
vendor:
|
|
go mod vendor
|
|
|
|
.PHONY: build-proto
|
|
build-proto:
|
|
buf build
|
|
|
|
.PHONY: gen-proto
|
|
gen-proto:
|
|
buf generate
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test ./...
|
|
|
|
.PHONY: check
|
|
check:
|
|
go fmt ./...
|
|
|
|
go vet ./...
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf ./**/gen
|
|
find . -name "*.pb*" -type f -delete
|