mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
19 lines
299 B
Bash
19 lines
299 B
Bash
|
DOCKER_IMAGE=emscripten/emsdk
|
||
|
|
||
|
git submodule update --init --recursive
|
||
|
mkdir js_build
|
||
|
|
||
|
docker run \
|
||
|
--rm \
|
||
|
-v $(pwd):/src \
|
||
|
-w="/src/js_build" \
|
||
|
$DOCKER_IMAGE \
|
||
|
emcmake cmake /src
|
||
|
|
||
|
docker run \
|
||
|
--rm \
|
||
|
-v $(pwd):/src \
|
||
|
-w="/src/js_build" \
|
||
|
$DOCKER_IMAGE \
|
||
|
cmake --build . -- -j10
|