refactor: add a root-path argument to build the necessary paths ouf of it, instead of passing them separately
This commit is contained in:
@@ -16,8 +16,8 @@ for test in "${args[@]}"; do
|
||||
protocol="${test%%=*}"
|
||||
filter="${test#*=}"
|
||||
if [[ "$test" == *"="* ]]; then
|
||||
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL" --evm-path "/app/evm" --match-test "$filter"
|
||||
tycho-protocol-sdk --package "$protocol" --db-url "$DATABASE_URL" --match-test "$filter"
|
||||
else
|
||||
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL" --evm-path "/app/evm"
|
||||
tycho-protocol-sdk --package "$protocol" --db-url "$DATABASE_URL"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user