mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
24c8629cd4
GitOrigin-RevId: c4d0d9e06fe0cc9d7cb7a058fd0768eb024e44f5
13 lines
394 B
Bash
Executable file
13 lines
394 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# build an Emscripten SDK Docker image with Hunspell's build dependencies installed
|
|
docker build --pull --tag overleaf/emsdk .
|
|
|
|
# compile Hunspell to WASM and copy the output files from the Docker container
|
|
docker run --rm \
|
|
--workdir /opt \
|
|
--volume "$(pwd)/wasm":/wasm \
|
|
--volume "$(pwd)/compile.sh":/opt/compile.sh:ro \
|
|
overleaf/emsdk \
|
|
bash compile.sh
|