mirror of
https://github.com/paralus/paralus.git
synced 2026-02-14 17:49:51 +00:00
Simplify proto generation and clean
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
coverage.out
|
||||
paralus
|
||||
|
||||
15
Makefile
15
Makefile
@@ -11,12 +11,14 @@ build:
|
||||
# size of binary.
|
||||
go build -ldflags "-s" -o paralus .
|
||||
|
||||
.PHONY: build-proto
|
||||
build-proto:
|
||||
buf build
|
||||
.PHONY: clean-proto
|
||||
clean-proto:
|
||||
rm -rf ./gen
|
||||
find . -name "*.pb*" -type f -delete
|
||||
|
||||
.PHONY: gen-proto
|
||||
gen-proto:
|
||||
.PHONY: build-proto
|
||||
build-proto: clean-proto
|
||||
buf build
|
||||
buf generate
|
||||
|
||||
.PHONY: test
|
||||
@@ -31,5 +33,4 @@ check:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf ./**/gen
|
||||
find . -name "*.pb*" -type f -delete
|
||||
rm paralus
|
||||
|
||||
Reference in New Issue
Block a user