Skip to content

Commit

Permalink
fix zig out path
Browse files Browse the repository at this point in the history
changed since #669
  • Loading branch information
luehmann committed Nov 21, 2023
1 parent 470454b commit d6c9689
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/lib/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const HELP = {
zig: {
name: 'Zig',
build: 'zig build -Doptimize=ReleaseSmall',
cart: 'zig-out/lib/cart.wasm',
cart: 'zig-out/bin/cart.wasm',
}
};

Expand Down
2 changes: 1 addition & 1 deletion cli/lib/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function start (opts) {
} else if (fs.existsSync("build.zig")) {
buildCommand = "zig";
buildParams = ["build"];
buildOutput = "zig-out/lib/cart.wasm";
buildOutput = "zig-out/bin/cart.wasm";

} else if (fs.existsSync("cart.nimble")) {
buildCommand = "nimble";
Expand Down
2 changes: 1 addition & 1 deletion site/docs/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ zig build -Doptimize=ReleaseSmall
Run it in WASM-4 with:

```shell
w4 run zig-out/lib/cart.wasm
w4 run zig-out/bin/cart.wasm
```

</Page>
Expand Down
2 changes: 1 addition & 1 deletion site/docs/tutorials/snake/publish-your-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ This is a rather heavy, blunt hammer for functions that kind of look like nails
zig build -Doptimize=ReleaseSmall
```

Your game will be here: `zig-out/lib/cart.wasm`
Your game will be here: `zig-out/bin/cart.wasm`

</Page>

Expand Down

0 comments on commit d6c9689

Please sign in to comment.