Files
wasm/scripts/build.sh
T
Jaco 2e14af5693 Adjust WASM init process (w/ RN aliases) (#340)
* Adjust WASM init process (w/ RN aliases)

* Remove stray log

* Cleanup

* CHANGELOG

* yarn.lock
2022-05-09 17:48:45 +03:00

31 lines
564 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2019-2022 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e
echo "*** Building JavaScript"
./scripts/build-js.sh
echo "*** Building WASM"
cd packages
../scripts/build-wasm.sh
yarn test:wasm:js
echo ""
echo "*** wasm-crypto"
ls -alR wasm-crypto/build
echo ""
echo "*** wasm-data-asmjs"
ls -alR wasm-data-asmjs/build
echo ""
echo "*** wasm-data-wasm"
ls -alR wasm-data-wasm/build
cd ..
yarn build:rollup