-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change the logic used for specifying additional modules (#83)
This removes the use of the YRX_PROTOC_CONFIG_FILE environment variable, in favor of two new environment variables YRX_EXTRA_PROTOS and YRX_EXTRA_PROTOS_BASE_PATH. The previous mechanism for specifying extra modules was more complex and didn't fit well with Bazel which was the primary use case for this mechanism. The new YRX_EXTRA_PROTOS accepts a list of space-separated file paths pointing to .proto files. This paths are either absolute or relative to the build.rs file. With YRX_EXTRA_PROTOS_BASE_PATH you can make the paths relative to some other point in the file system.
- Loading branch information
Showing
3 changed files
with
61 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters