Skip to content

Commit 817ace3

Browse files
committed
Quite a PITA
1 parent 7063ede commit 817ace3

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ jobs:
3939
# Initial dependency installation
4040
bun install
4141
# Compile Rust stuff
42-
#bun run lib
43-
cd lib/engine
44-
wasm-pack build --release --target bundler --scope derivean --out-dir ../../packages/@derivean/engine
45-
cd ../..
42+
cargo fetch
43+
bun run lib
4644
# Ensure Rust libraries are installed
4745
bun install
4846

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@derivean/engine-build",
33
"scripts": {
4-
"lib": "wasm-pack build --release --target bundler --scope derivean --out-dir ../../packages/@derivean/engine"
4+
"lib": "wasm-pack build --release --weak-refs --reference-types --target bundler --scope derivean --out-dir ../../packages/@derivean/engine"
55
}
66
}

packages/@derivean/.DS_Store

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)