From a0ead211d131bb7441d7b35ca98a61ad192c7d00 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Tue, 21 Jun 2022 15:52:34 +0000 Subject: [PATCH] fix: exit on script error --- --- a/tests/update_apps.sh +++ b/tests/update_apps.sh @@ -1,5 +1,7 @@ #!/usr/bin/env sh +set -eux + ./update_types.sh if [ ! -d polkadot-apps ]; then @@ -8,4 +10,4 @@ pushd polkadot-apps yarn link ../unique-types-js -popd \ No newline at end of file +popd --- a/tests/update_apps_start.sh +++ b/tests/update_apps_start.sh @@ -1,7 +1,9 @@ #!/usr/bin/env sh +set -eux + ./update_apps.sh pushd polkadot-apps yarn start -popd \ No newline at end of file +popd --- a/tests/update_types.sh +++ b/tests/update_types.sh @@ -1,5 +1,7 @@ #!/usr/bin/env sh +set -eux + yarn polkadot-types if [ ! -d unique-types-js ]; then -- gitstuff