git.delta.rocks / unique-network / refs/commits / f082ca53dc4e

difftreelog

test apps launch scripts

Yaroslav Bolyukin2022-04-12parent: #f9a4dd5.patch.diff
in: master

3 files changed

addedtests/update_apps.shdiffbeforeafterboth
--- /dev/null
+++ b/tests/update_apps.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env sh
+
+./update_types.sh
+
+if [ ! -d polkadot-apps ]; then
+	git clone git@github.com:polkadot-js/apps.git polkadot-apps --depth=1
+fi
+
+pushd polkadot-apps
+yarn link ../unique-types-js
+popd
\ No newline at end of file
addedtests/update_apps_start.shdiffbeforeafterboth
--- /dev/null
+++ b/tests/update_apps_start.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+./update_apps.sh
+
+pushd polkadot-apps
+yarn start
+popd
\ No newline at end of file
modifiedtests/update_types.shdiffbeforeafterboth
before · tests/update_types.sh
1#!/usr/bin/env sh23yarn polkadot-types45cd ../..6if [ ! -f unique-types-js ]; then7	git clone git@github.com:UniqueNetwork/unique-types-js.git8fi910rsync -ar --delete unique-chain/tests/src/interfaces/ unique-types-js/src/interfaces11for file in unique-types-js/src/interfaces/augment-*; do12	sed -i '1s;^;//@ts-nocheck\n;' $file13done1415cd unique-types-js16git add src/interfaces/17git commit -m "chore: regenerate types"18cd ../unique-chain/tests
after · tests/update_types.sh
1#!/usr/bin/env sh23yarn polkadot-types45if [ ! -d unique-types-js ]; then6	git clone git@github.com:UniqueNetwork/unique-types-js.git7fi89rsync -ar --exclude .gitignore src/interfaces/ unique-types-js10for file in unique-types-js/augment-*; do11	sed -i '1s;^;//@ts-nocheck\n;' $file12done1314pushd unique-types-js15git add .16git commit -m "chore: regenerate types"17popd