Thrift v1.3.0 Mix.Tasks.Compile.Thrift
Generate Erlang source files from .thrift schema files.
When this task runs, it first checks the modification times of all source files that were generated by the set of .thrift files. If the generated files are older than the .thrift file that generated them, this task will skip regenerating them.
Command line options
--force
- forces compilation regardless of modification times
Configuration
:thrift_files
- list of .thrift schema files to compile:thrift_output
- output directory into which the generated Erlang source file will be generated. Defaults to"src"
.:thrift_options
- list of additional options that will be passed to the Thrift compiler.:thrift_executable
- thrift compiler executable. Defaults to"thrift"
.:thrift_version
- thrift compilerVersion
requirement
Summary
Functions
Callback implementation for Mix.Task.run/1