Fix rust run_daemon.sh

This commit is contained in:
folex 2019-08-19 13:44:03 +03:00
parent d438917e5a
commit 62d30f82b4

View File

@ -3,14 +3,6 @@
set -e set -e
set -o pipefail set -o pipefail
command -v jq >/dev/null 2>&1 || {
echo >&2 "jq is not installed, wouldn't parse responses"
}
command -v base64 >/dev/null 2>&1 || {
echo >&2 "base64 is not installed, wouldn't parse responses"
}
mkdir -p wasm mkdir -p wasm
# Download SQLite # Download SQLite
@ -22,9 +14,8 @@ fi
# Build fluid WASM module # Build fluid WASM module
echo "Building to WASM..." echo "Building to WASM..."
npm --silent install cargo +nightly build --target wasm32-unknown-unknown --release >/dev/null
npm --quiet run flbuild cp target/wasm32-unknown-unknown/release/*.wasm ./wasm/
cp build/fluid.wasm ./wasm/
echo echo
# Run it all on 30000 port with default Fluence API # Run it all on 30000 port with default Fluence API