Skip to content

v1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Dec 16:03
· 1 commit to master since this release

Command Option Added: -rmpath

-rmpath <path[,path...]>: Remove Path Prefix (Remove the path prefix of the output file path when generating files)
This option is usually used when generating Go target. For example, if a .bb file has go_package option set to github.com/xaxys/bubbler/proto/rpc, the generated file will be generated in the output/github.com/xaxys/bubbler/proto/rpc directory. If you want to remove the path prefix github.com/xaxys/bubbler/proto/rpc, you can set this option to github.com/xaxys/bubbler/proto. Then the generated file will be generated in the output/rpc directory.

It can be use like this:

bubbler -t go -rmpath github.com/xaxys/bubbler/proto -o output example.bb

Changelog