mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 10:17:57 +00:00
6e4f9dfad3
* Add genesisHash checks to all loads * Only match when genesisHash is supplied * Swap to bash * Naming * Check for empty json * Filter injected on genesisHash as well * Bump deps
21 lines
357 B
Bash
Executable File
21 lines
357 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function copy_folder () {
|
|
SRC="packages/$1/build"
|
|
DST="../apps/node_modules/@polkadot/$1"
|
|
|
|
echo "** Copying $SRC to $DST"
|
|
|
|
rm -rf $DST
|
|
cp -r $SRC $DST
|
|
}
|
|
|
|
yarn polkadot-dev-build-ts
|
|
|
|
copy_folder "react-identicon"
|
|
copy_folder "react-qr"
|
|
copy_folder "ui-assets"
|
|
copy_folder "ui-keyring"
|
|
copy_folder "ui-settings"
|
|
copy_folder "ui-shared"
|