Skip to content

Commit 03b5f60

Browse files
committed
feat: Add generate command in Makefile
1 parent 8447a05 commit 03b5f60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ build:
3838
$(EXEC) go mod tidy
3939
$(EXEC) goimports -w .
4040

41+
generate:
42+
$(EXEC) ./scripts/fix-spec.py
43+
./scripts/generate-code.sh
44+
$(EXEC) go mod tidy
45+
$(EXEC) goimports -w .
46+
4147
.PHONY: test
4248
test:
4349
$(EXEC) go test -v ./...

0 commit comments

Comments
 (0)