Skip to content

Commit 1af0195

Browse files
authored
Merge pull request #58 from firefly-zero/upd-moonbit-2
Update moonbit to v1.22
2 parents aeabbd8 + dc6650d commit 1af0195

44 files changed

Lines changed: 152 additions & 142 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€ŽTaskfile.ymlβ€Ž

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ version: 3
66

77
vars:
88
MOON_MODULES:
9-
sh: echo ./src && find ./example -maxdepth 1 -mindepth 1 -type d
9+
sh: >
10+
echo ./src &&
11+
find ./example -maxdepth 1 -mindepth 1 -type d
12+
| grep -vE '(_build|.mooncakes)'
1013
EXAMPLES:
11-
sh: find ./example -maxdepth 1 -mindepth 1 -type d
14+
sh: >
15+
find ./example -maxdepth 1 -mindepth 1 -type d
16+
| grep -vE '(_build|.mooncakes)'
1217
1318
tasks:
1419
release:

β€Žexample/audio/firefly.tomlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ author_id = "demo"
66
app_id = "moonbit-audio"
77
author_name = "Demo"
88
app_name = "Audio demo (MoonBit)"
9+
lang = "moon"
910

1011
[files]
11-
pickupCoin = { path = "assets/pickupCoin.wav"}
12+
pickupCoin = { path = "assets/pickupCoin.wav" }

β€Žexample/audio/moon.modβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name = "example-audio"
2+
3+
preferred_target = "wasm"
4+
5+
import {
6+
"firefly/firefly@0.7.0",
7+
}

β€Žexample/audio/moon.mod.jsonβ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

β€Žexample/font/firefly.tomlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ author_id = "demo"
66
app_id = "moonbit-font"
77
author_name = "Demo"
88
app_name = "Font demo (MoonBit)"
9+
lang = "moon"
910

1011
[files]
1112
font = { path = "assets/eg_6x12.fff" }

β€Žexample/font/moon.modβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name = "example-font"
2+
3+
preferred_target = "wasm"
4+
5+
import {
6+
"firefly/firefly@0.7.0",
7+
}

β€Žexample/font/moon.mod.jsonβ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

β€Žexample/image/firefly.tomlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ author_id = "demo"
66
app_id = "moonbit-image"
77
author_name = "Demo"
88
app_name = "Image demo (MoonBit)"
9+
lang = "moon"
910

1011
[files]
1112
smile1 = { path = "assets/smile-1.png" }

β€Žexample/image/moon.modβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name = "example-image"
2+
3+
preferred_target = "wasm"
4+
5+
import {
6+
"firefly/firefly@0.7.0",
7+
}

β€Žexample/image/moon.mod.jsonβ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
Β (0)