Skip to content

Commit

Permalink
Generating OCSF Go types from Proto Schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
andream16 committed Oct 15, 2024
1 parent 904719e commit b68a3c6
Show file tree
Hide file tree
Showing 4 changed files with 92,303 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,13 @@ lint-proto: build-buf-container
@echo "Linting Proto files"
$(MAKE) run-buf ARGS="lint --exclude-path vendor/"

# Buf doesn't have a way to configure where to put the generated code from remote repositories;
# that's why we make sure to correctly move it around. In this case it's just COM for OCSF types.
generate-proto: build-buf-container
@echo "Generating Proto files"
$(MAKE) run-buf ARGS="generate"
@rm -rf api/gen
@mv com api/gen

dep-update-proto: build-buf-container
@echo "Updating buf.lock deps"
Expand Down
Loading

0 comments on commit b68a3c6

Please sign in to comment.