tachyon 0.3.2
SDKdartflutter
Platformandroidioswindowslinuxmacos
A code generation building tool.
Tachyon simple plugin
An example of how to create a basic plugin and using it.
Code generator
The code generator example is in this file
Basic setup requires
-
Create a
tachyon_plugin_config.yamlwith the following entries-
name: the name of the package
-
code_generator:
- file: the relative path of the dart file. This should be relative to the
libfolder - className: the name of your custom code generator class
- file: the relative path of the dart file. This should be relative to the
-
annotations: a list of annotation names that your code generator wants to handle
-
Using the code generator
-
Create a
tachyon_config.yaml-
file_generation_paths: a list of the files that you want to include in code generation (can be globs)
-
plugins: a list of plugins to use
-
generated_file_line_length: line length for generated files (this can be used if you commit the generated files)
-