bash (#1359)
This commit is contained in:
committed by
Jaco Greeff
parent
9ffeda1749
commit
8d34d66386
+5
-5
@@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
function copy_folder () {
|
||||
SRC="packages/$1/build"
|
||||
DST="apps/node_modules/@polkadot/$2"
|
||||
DST="../apps/node_modules/@polkadot/$2"
|
||||
|
||||
echo "** Copying $SRC to apps/$DST"
|
||||
echo "** Copying $SRC to $DST"
|
||||
|
||||
rm -rf ../$DST
|
||||
cp -r $SRC ../$DST
|
||||
rm -rf $DST
|
||||
cp -r $SRC $DST
|
||||
}
|
||||
|
||||
yarn polkadot-dev-build-ts
|
||||
|
||||
Reference in New Issue
Block a user