chore: Explicitly install wasm-pack on CI

This commit is contained in:
Mike Welsh 2020-03-16 01:24:52 -07:00
parent 17a7b02f14
commit b3b81c5e20
4 changed files with 4 additions and 3 deletions

View File

@ -32,6 +32,7 @@ jobs:
sudo apt-get -y install libasound2-dev # Required for cpal crate on Linux
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
mkdir workspace
# Run tests

View File

@ -27,7 +27,7 @@ module.exports = (env, argv) => {
}]),
new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, ".."),
extraArgs: "--out-name=ruffle",
outName: "ruffle",
forceMode: mode,
})
]

View File

@ -25,7 +25,7 @@ module.exports = (env, argv) => {
new CleanWebpackPlugin(),
new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, ".."),
extraArgs: "--out-name=ruffle",
outName: "ruffle",
forceMode: mode,
})
]

View File

@ -23,7 +23,7 @@ module.exports = (env, argv) => {
new CleanWebpackPlugin(),
new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, ".."),
extraArgs: "--out-name=ruffle",
outName: "ruffle",
forceMode: mode,
})
]