-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.yaml
46 lines (46 loc) · 1.08 KB
/
codegen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
schema: schema.widl
generates:
assembly/module.ts:
package: widl-codegen/language/assemblyscript
visitorClass: ModuleVisitor
assembly/index.ts:
ifNotExists: true
package: widl-codegen/language/assemblyscript
visitorClass: ScaffoldVisitor
config:
package: './module'
---
schema: schema.widl
parentDir: tinygo
generates:
module/module.go:
package: widl-codegen/language/tinygo
visitorClass: ModuleVisitor
config:
package: module
main.go:
ifNotExists: true
package: widl-codegen/language/tinygo
visitorClass: ScaffoldVisitor
config:
import: github.com/wapc/mandelbrot-example/tinygo/module
package: module
---
schema: schema.widl
parentDir: rust
generates:
src/generated.rs:
package: widl-codegen/language/rust
visitorClass: ModuleVisitor
src/lib.rs:
ifNotExists: true
package: widl-codegen/language/rust
visitorClass: ScaffoldVisitor
config:
use: generated
---
schema: schema.widl
generates:
render2image/module/module.go:
package: widl-codegen/language/go
visitorClass: ModuleVisitor