Skip to content

Commit

Permalink
Add Makefile, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gi-wg2 committed Oct 20, 2023
1 parent 33bb1b4 commit 225dc16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: buf_build java_package
all: buf java_package

clean:
find . -type d -name 'target' -exec rm -rf {} +
Expand All @@ -13,7 +13,7 @@ buf_generate: clean $(wildcard */*.proto)
buf_push: clean $(wildcard */*.proto)
buf push

buf_build: buf_image buf_generate
buf: buf_image buf_generate

# Java
java_v0_package: $(wildcard */v0/pom.xml) $(wildcard */v0/*.proto)
Expand Down
10 changes: 2 additions & 8 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,8 @@ now been pushed to github so you'll have to edit the history and do a force push
## Build and release protobuf artifacts

```shell
# Build FileDescriptorSet
make buf_image

# Generate Go code
make buf_generate

# Both above
make buf_build
# Build FileDescriptorSet and generate Go code
make buf

# Push to Buf Schema Registry
make buf_push
Expand Down

0 comments on commit 225dc16

Please sign in to comment.