
* Scaling works on native * It works in wasm * Integrate with UI * Remove benchmark * Integrate Hqx into Resizer module * Link against repo for hqx * Remove unused defaultOpts * Re-add test file * Adding size dropdown * Chrome: go and sit on the naughty step * Better docs * Review * Add link to crbug * Update src/codecs/processor-worker/index.ts Co-Authored-By: Jake Archibald <jaffathecake@gmail.com> * Terminate worker inbetween resize jobs
24 lines
665 B
Bash
Executable File
24 lines
665 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "============================================="
|
|
echo "Compiling wasm"
|
|
echo "============================================="
|
|
(
|
|
rustup run nightly \
|
|
wasm-pack build --target no-modules
|
|
wasm-strip pkg/squooshhqx_bg.wasm
|
|
rm pkg/.gitignore
|
|
)
|
|
echo "============================================="
|
|
echo "Compiling wasm done"
|
|
echo "============================================="
|
|
|
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
|
echo "Did you update your docker image?"
|
|
echo "Run \`docker pull ubuntu\`"
|
|
echo "Run \`docker pull rust\`"
|
|
echo "Run \`docker build -t squoosh-hqx .\`"
|
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|