Support for wasmer

This commit is contained in:
2019-06-03 18:01:33 +02:00
parent cc029484d6
commit fc01e74f44
2 changed files with 25 additions and 1 deletions

View File

@@ -21,7 +21,8 @@ fi
# Wasmer path
if [ -d $HOME/.wasmer ]; then
export WASMER_DIR="$HOME/.wasmer"
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh" # This loads wasmer
export WASMER_CACHE_DIR="$WASMER_DIR/cache"
export PATH="$WASMER_DIR/bin:$WASMER_DIR/globals/wapm_packages/.bin:$PATH"
fi
# Node path