Skip to content

Commit 732c838

Browse files
committed
workflow: shorten artifact to just wasm file
1 parent 0b50c5b commit 732c838

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ target
2626
*.local
2727
.DS_Store
2828

29-
dist
29+
dist
30+
wasm.zip

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build:gauge": "bun --cwd=\"./example/gauge\" run build",
1212
"copy:wasm": "bun run ./scripts/copy-wasm-module.ts",
1313
"build:example": "bun run build:wasm && bun run build:gauge && bun run copy:wasm",
14-
"package": "bestzip wasm.zip dist/wasm/*"
14+
"package": "cd dist/wasm/2020 && bestzip ../../../wasm.zip msfs_navigation_data_interface.wasm"
1515
},
1616
"devDependencies": {
1717
"@eslint/js": "^9.23.0",

0 commit comments

Comments
 (0)