Skip to content

Commit

Permalink
Update validate
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Dec 16, 2024
1 parent 17e288c commit 12c4f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function check_all_services_in_package() {
for folder in $here/../Sources/Soto/Services/*; do
service=$(basename $folder)
if [ -z "$(grep ".target(name: \"Soto$service\"" $here/../Package.swift)" ]; then
if [ -z "$(grep "name: \"Soto$service\"" $here/../Package.swift)" ]; then
printf "\033[0;31m$service is not in Package.swift\033[0m\n"
exit -1
fi
Expand Down

0 comments on commit 12c4f41

Please sign in to comment.