diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-02 11:35:41 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-02 11:35:41 +0100 |
| commit | bbd84bea3e34e503ccd49c59fe7d7a3727c6adfa (patch) | |
| tree | e193dfce05b6a42c647d40e0f17f926e28d03f2c /examples/05-native-type-custom-config | |
| parent | a7e38a058c41068a6d6bae14e27c1803b1be384e (diff) | |
Split lang config from generator config
Diffstat (limited to 'examples/05-native-type-custom-config')
| -rw-r--r-- | examples/05-native-type-custom-config/hobgoblin.json5 | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/examples/05-native-type-custom-config/hobgoblin.json5 b/examples/05-native-type-custom-config/hobgoblin.json5 index 89048ac..1c92a49 100644 --- a/examples/05-native-type-custom-config/hobgoblin.json5 +++ b/examples/05-native-type-custom-config/hobgoblin.json5 @@ -1,15 +1,21 @@ { - outputs: [ - { - generator: "java-types", - path: "output/java/src/gen/java", - packageName: "org.zwobble.example.types", - nativeTypes: [ - { - hobgoblin: "point.Point", - java: "org.zwobble.example.Point", - } - ] + outputs: { + langs: { + java: { + packageName: "org.zwobble.example.types", + nativeTypes: [ + { + hobgoblin: "point.Point", + java: "org.zwobble.example.Point", + }, + ], + }, }, - ], + generators: [ + { + generator: "java-types", + path: "output/java/src/gen/java", + }, + ], + }, } |
