From 26aa849f1ff0e7437279cca5b5437cbda234ec13 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Thu, 02 Dec 2021 22:23:51 +0000 Subject: [PATCH] change repo path --- --- a/tests/update_types.sh +++ b/tests/update_types.sh @@ -1,17 +1,18 @@ #!/usr/bin/env sh -if [[ ! -f unique-types-js ]]; then +yarn polkadot-types + +cd ../.. +if [ ! -f unique-types-js ]; then git clone git@github.com:UniqueNetwork/unique-types-js.git fi - -yarn polkadot-types -rsync -ar --delete src/interfaces/ unique-types-js/src/interfaces +rsync -ar --delete unique-chain/tests/src/interfaces/ unique-types-js/src/interfaces for file in unique-types-js/src/interfaces/augment-*; do sed -i '1s;^;//@ts-nocheck\n;' $file done -pushd unique-types-js +cd unique-types-js git add src/interfaces/ git commit -m "chore: regenerate types" -popd +cd ../unique-chain/tests \ No newline at end of file -- gitstuff