Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp authored and David Peter committed Jul 1, 2024
1 parent 7c398ca commit 10da5f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions numbat-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions numbat-wasm/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ if [[ "$current_branch" != "master" ]]; then
exit 1
fi

# Make sure that Rust version is == 1.76.0 for now to avoid running into
# https://github.com/rustwasm/wasm-pack/issues/1389
# With newer versions, we get panics when (for example) running:
# https://numbat.dev/doc/example-paper_size.html
if ! rustc --version | grep -q "1.76.0"; then
echo "Please switch to Rust version 1.76.0."
exit 1
fi

bash build.sh

rsync --archive --stats --progress --human-readable -r www/ shark.fish:numbat.dev/

0 comments on commit 10da5f4

Please sign in to comment.