[go: nahoru, domu]

Skip to content

A simple wrapper for Google Protocol Buffer's "protoc" utility

License

Notifications You must be signed in to change notification settings

freenowtech/protoc-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protoc Wrapper

A simple wrapper for Google Protocol Buffer's "protoc" utility

Install

Open the target folder in terminal and paste:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/freenowtech/protoc-wrapper/master/install.sh)"

Follow the instruction to set the target protoc version After that you'll have 2 new files:

  • protocw: the executable wrapper
  • protocw.properties: the config file where the target version is set

Commit both files to source control and make sure the .protocw folder gets ignored (i.e. add it to .gitignore)

Usage

Run ./protocw [args] when you would normally run protoc [args]

Run ./protocw --configure to setup the target protoc version

Run ./protocw --self-update to update the wrapper to the latest version

Run ./protocw --help to see the wrapper help and protoc help at once

Author

Lucas Laurindo dos Santos

https://github.com/lucasls

About

A simple wrapper for Google Protocol Buffer's "protoc" utility

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages