Skip to content

Commit

Permalink
more asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 15, 2024
1 parent a38b40b commit 598b965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steps/clone.sh
Expand Up @@ -35,6 +35,8 @@ mkdir -p "$(dirname "${repos}")"
tail -n +2 "${TARGET}/repositories.csv" > "${repos}"
total=$(wc -l < "${repos}" | xargs)

"${LOCAL}/help/assert-tool.sh" git --version

declare -i repo=0
sh="$(dirname "$0")/clone-repo.sh"
while IFS=',' read -r r tag tail; do
Expand Down
1 change: 1 addition & 0 deletions steps/discover.sh
Expand Up @@ -58,6 +58,7 @@ elif [ -z "${REPOS}" ] || [ ! -e "${REPOS}" ]; then
if [ -n "${CAMTESTS}" ]; then
args+=('--dry' '--pause=0')
fi
"${LOCAL}/help/assert-tool.sh" ruby -v
ruby "${LOCAL}/steps/discover-repos.rb" "${args[@]}"
else
echo "Using the list of repositories from the '${REPOS}' file (defined by the REPOS environment variable)..."
Expand Down

0 comments on commit 598b965

Please sign in to comment.