# ProtoGen **Repository Path**: wuzhang/ProtoGen ## Basic Information - **Project Name**: ProtoGen - **Description**: ProtoBuff 批处理环境 - **Primary Language**: C# - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2016-12-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #ProtoBuff Organize Project ## 目录结构 Build ./build/protoc 2.6.1 ./build/protoc# Proto Gen.bat 一键生成脚本 Plugins protoc-gen-lua ## DownLoad link https://github.com/google/protobuf https://github.com/google/protobuf/releases/tag/v2.6.1 Google's Protocol Buffers project, ported to Lua () https://github.com/sean-lin/protoc-gen-lua 这里要自己新建 protoc-gen-lua\plugin\protoc-gen-lua.bat 脚本方便Gen.bat 处理 @python "%~dp0protoc-gen-lua" ## Notice pblua 生成的lua文件 require 的库 需要我们重新自己定义使用的 protoc-gen-lua 库的路径 修改 protoc-gen-lua/plugin/protoc-gen-lua 412 lua('local protobuf = require "protobuf/protobuf"\n') ## 相关教程 [protobuf env setting](https://www.zybuluo.com/daaoling/note/588999) https://developers.google.com/protocol-buffers/docs