Skip to content

bharatvaj/grunt-protoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-protoc

protoc generator task

info

Original repo was missing some functionality I require. So I forked this repo and implemented some features of my own. Feel free to raise issues

config

<plugin>: {
    protocPath: "path/to/protoc",   // optional - path of the protoc, will use system protoc if left unspecified
    proto: ["*.proto"],             // required - proto files to compiles
    includes: ["."],                // optional - proto include path
    transpile: [                    // required - configure the transpilation
        {
        plugin: "js",                   // required - the name of the plugin
        pluginPath: "path/to/plugin",   // optional - path of the plugin
        output: "model/js",             // required - output directory, can also specify options here
        },
    ]
}

LICENSE

MIT LICENSE

About

protoc task for grunt

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%