Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python bindings for protobufs #172

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ protos: go_setup
go_run:
go run examples/go/main.go

.PHONY: protos go_setup go_run
chasen-bettinger marked this conversation as resolved.
Show resolved Hide resolved
.PHONY: protos go_setup go_run
5 changes: 5 additions & 0 deletions protos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
go:
protoc --go_out=../go --go_opt=module=github.com/in-toto/attestation/go $(shell find ./in_toto_attestation -name "*.proto")

# Creates the python libs in the python/ directory.
python:
mkdir -p ../python
chasen-bettinger marked this conversation as resolved.
Show resolved Hide resolved
protoc -I ./in_toto_attestation --python_out=../python $(shell find ./in_toto_attestation -name "*.proto")
marcelamelara marked this conversation as resolved.
Show resolved Hide resolved

.PHONY: go
chasen-bettinger marked this conversation as resolved.
Show resolved Hide resolved
Loading