From 32412fa6626e3febda4a1fec971d9366a958fd0f Mon Sep 17 00:00:00 2001 From: Derek Jass Date: Tue, 29 Sep 2015 10:09:33 -0500 Subject: [PATCH] Added build file. --- Protocol Buffer.sublime-build | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Protocol Buffer.sublime-build diff --git a/Protocol Buffer.sublime-build b/Protocol Buffer.sublime-build new file mode 100644 index 0000000..6e6b706 --- /dev/null +++ b/Protocol Buffer.sublime-build @@ -0,0 +1,40 @@ +{ + "cmd": [ + "protoc", + "-I=$file_path", + "--cpp_out=$file_path", + "--java_out=$file_path", + "--python_out=$file_path", + "$file" + ], + "selector": "source.proto", + "variants": [ + { + "name": "C++", + "cmd": [ + "protoc", + "-I=$file_path", + "--cpp_out=$file_path", + "$file" + ] + }, + { + "name": "Java", + "cmd": [ + "protoc", + "-I=$file_path", + "--java_out=$file_path", + "$file" + ] + }, + { + "name": "Python", + "cmd": [ + "protoc", + "-I=$file_path", + "--python_out=$file_path", + "$file" + ] + } + ] +} \ No newline at end of file