Skip to content

Commit

Permalink
build: Fix wasm-pack install in devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Sep 23, 2024
1 parent 4e67ea4 commit 452c878
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ vars:
cargo_crates: >
bacon cbindgen cargo-audit cargo-insta cargo-llvm-cov cargo-release
cargo-nextest default-target mdbook mdbook-admonish mdbook-footnote
mdbook-toc nextest wasm-bindgen-cli wasm-opt wasm-pack
mdbook-toc nextest wasm-bindgen-cli wasm-opt
# wasm-pack waiting on https://github.com/rustwasm/wasm-pack/issues/1426
#
# Excluding `elixir` atm given it's not enabled on Mac and currently unsupported
brew_dependencies: |
hugo
Expand Down Expand Up @@ -123,12 +125,14 @@ tasks:
# `--locked` installs from the underlying lock files (which is not the
# default...)
- "cargo install --locked {{.cargo_crates}}"
- cargo install wasm-pack

install-cargo-tools-binstall:
cmds:
- cmd: cargo install --locked cargo-binstall
platforms: [linux, darwin]
- "cargo binstall -y --locked {{.cargo_crates}}"
- cargo binstall -y wasm-pack

check-vscode-extensions:
desc: Check and suggest VS Code extensions.
Expand Down

0 comments on commit 452c878

Please sign in to comment.