diff options
author | Antanas Uršulis <antanas.ursulis@gmail.com> | 2013-07-03 00:27:03 +0100 |
---|---|---|
committer | Antanas Uršulis <antanas.ursulis@gmail.com> | 2013-07-03 00:27:03 +0100 |
commit | 1be8057a9fd24e96814065c97dacfdabf2f0386f (patch) | |
tree | a619ab1124e902c144c6dce5fdf9a20ea47b5f86 | |
parent | Add generated protobuf files and vim .swp to .gitignore (diff) | |
download | log-analysis-1be8057a9fd24e96814065c97dacfdabf2f0386f.tar.gz log-analysis-1be8057a9fd24e96814065c97dacfdabf2f0386f.tar.bz2 log-analysis-1be8057a9fd24e96814065c97dacfdabf2f0386f.zip |
Initial protobuf messages
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | submission.proto | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f4b165f --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +.PHONY: all protobufs clean + +all: protobufs + +protobufs: submission.proto + protoc --python_out=. $^ + +clean: + rm -f submission_pb2.py diff --git a/submission.proto b/submission.proto new file mode 100644 index 0000000..70a60de --- /dev/null +++ b/submission.proto @@ -0,0 +1,4 @@ +message Submission { + required string filename = 1; + required bytes data = 2; +} |