27 lines
582 B
YAML
27 lines
582 B
YAML
version: 4
|
|
|
|
output:
|
|
.build/dialect.swift:
|
|
type: swift
|
|
app/src/main/kotlin/org/opengamestudio/dialect.kt:
|
|
type: kotlin
|
|
|
|
BlueContext:
|
|
type: context
|
|
fields:
|
|
didLaunch: Bool
|
|
didSetup: Bool
|
|
|
|
BlueComponent:
|
|
type: component
|
|
oneliners:
|
|
- didLaunch: print("Blue launched")
|
|
shoulds:
|
|
didLaunch:
|
|
1. Only once during the first setup:
|
|
if:
|
|
c.recentField == F.didSetup &&
|
|
c.didLaunch == false
|
|
then:
|
|
c.didLaunch = true
|