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