Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

feat: allow overriding --language_out parameter to protoc #810

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

alexander-fenster
Copy link
Contributor

This feature allows to override the default value for --language_out (--php_out, --python_out, etc.) parameter of protoc invocation with an arbitrary string.

E.g. if you want to make PHP protoc invocation have --php_out=key=value:/path/to/output-dir, add this to Artman YAML config:

artifacts:
- name: php_gapic
  language_out_override: "key=value:{root}"

The {root} placeholder will be replaced with the actual output directory. The same logic will work for any other language as well.

Cc: @PierrickVoulet

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants