Skip to content

Commit c6a325f

Browse files
committed
feat: Add Makefile for code generation and formatting tasks
1 parent d28157e commit c6a325f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.PHONY: generate
2+
generate:
3+
buf generate
4+
buf format -w
5+
buf lint
6+
go fmt ./...
7+
golangci-lint fmt --no-config --enable gofmt,goimports
8+
golangci-lint run --no-config --fix

proto/sphere/options/options.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ message KeyValuePair {
1919

2020
extend google.protobuf.MethodOptions {
2121
repeated KeyValuePair options = 501319300;
22-
}
22+
}

0 commit comments

Comments
 (0)