commit | 6231478988f0a0b751a436d57d38bc09c1dcfdca | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@gmail.com> | Fri Dec 07 17:06:44 2018 -0500 |
committer | GitHub <noreply@github.com> | Fri Dec 07 17:06:44 2018 -0500 |
tree | 377b27f39623640f3358b8a129481adca103326a | |
parent | c0880f7f9d7048b45be5d36115ec2bf444e723c4 [diff] |
gazelle_binary: create gazelle binaries with custom languages (#365) gazelle_binary is a new rule that creates binaries to be used with the gazelle rule. It accepts a list of languages (the default languages are proto and go). It generates a .go source file that imports the language packages and initializes each extension. That source file is compiled into the main package in a new gazelle binary. The rest of the main package does not reference any specific languages. Fixes #311