mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-08 03:24:19 +00:00
Add the option to export dependencies as JSON.
This commit is contained in:
@@ -694,6 +694,12 @@ enum TimingsExportFormat : i32 {
|
||||
TimingsExportCSV = 2,
|
||||
};
|
||||
|
||||
enum DependenciesExportFormat : i32 {
|
||||
DependenciesExportUnspecified = 0,
|
||||
DependenciesExportMake = 1,
|
||||
DependenciesExportJson = 2,
|
||||
};
|
||||
|
||||
enum ErrorPosStyle {
|
||||
ErrorPosStyle_Default, // path(line:column) msg
|
||||
ErrorPosStyle_Unix, // path:line:column: msg
|
||||
@@ -831,6 +837,7 @@ struct BuildContext {
|
||||
bool show_timings;
|
||||
TimingsExportFormat export_timings_format;
|
||||
String export_timings_file;
|
||||
DependenciesExportFormat export_dependencies_format;
|
||||
String export_dependencies_file;
|
||||
bool show_unused;
|
||||
bool show_unused_with_location;
|
||||
|
||||
Reference in New Issue
Block a user