Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support compiling multiple files at once #18

Open
adamconnelly opened this issue Aug 17, 2020 · 0 comments
Open

Support compiling multiple files at once #18

adamconnelly opened this issue Aug 17, 2020 · 0 comments

Comments

@adamconnelly
Copy link
Owner

To keep things simple to begin with, the compiler only supports compiling a single Thrift file. We should support compiling multiple files at once so an entire directory tree can be compiled with a single command.

Scenario 1 - specify multiple input files

thrift-compiler --input UserType.thrift --input UserService.thrift --output-directory output

Scenario 2 - use a wildcard

thrift-compiler --input *.thrift --output-directory output

Scenario 3 - use a glob pattern

thrift-compiler --input **/*.thrift --output-directory output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant