Skip to content

Commit

Permalink
Merge pull request #8 from nervosnetwork/rm-extra-eth-account-lock-debug
Browse files Browse the repository at this point in the history
rm extra eth-account-lock.debug
  • Loading branch information
jjyr authored May 31, 2021
2 parents e4a67c2 + 98bce99 commit 2920ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ $ docker run --rm godwoken-prebuilds find /scripts
/scripts
/scripts/godwoken-scripts
/scripts/godwoken-scripts/eth-account-lock
/scripts/godwoken-scripts/eth-account-lock.debug
/scripts/godwoken-scripts/.keep
/scripts/godwoken-scripts/sudt-validator
/scripts/godwoken-scripts/meta-contract-validator
Expand Down
4 changes: 2 additions & 2 deletions tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ check_clerkb_files_exists(){
check_scripts_files_exists(){
local -a arr=(
"always-success" "custodian-lock" "eth-account-lock" "meta-contract-generator" "stake-lock" "sudt-generator" "withdrawal-lock"
"challenge-lock" "deposit-lock" "eth-account-lock.debug" "meta-contract-validator" "state-validator" "sudt-validator"
"challenge-lock" "deposit-lock" "meta-contract-validator" "state-validator" "sudt-validator"
)
local path=`pwd`/test-result/scripts/godwoken-scripts
check_multiple_files_exists "$path" "${arr[@]}"
Expand All @@ -34,7 +34,7 @@ check_multiple_files_exists(){
for i in "${arr[@]}"
do
if [ "$i" != "$check_path" ]; then # the first one is just the check_path.
[ -f "$i" ] || (echo "failed, $i not found"; exit 1) ;
[ -f "$i" ] && echo "test pass, found $i." || (echo "test failed, $i not found"; exit 1) ;
fi
done
}

0 comments on commit 2920ec0

Please sign in to comment.