Last active
June 24, 2019 10:21
-
-
Save wayou/dba6a5594a5fadec303f8e3f58984aad to your computer and use it in GitHub Desktop.
using emscripten from docker instead of installing locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emcc_image="trzeci/emscripten"; | |
if [[ "$(docker images -q $emcc_image:latest 2> /dev/null)" == "" ]]; then | |
docker pull emcc_image; | |
fi | |
alias emcc="docker run --rm -v "$(pwd):/src" $emcc_image emcc"; | |
# test | |
emcc -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment