Skip to content

Commit

Permalink
Better logs for gem install
Browse files Browse the repository at this point in the history
  • Loading branch information
shams-ahmed committed Nov 19, 2020
1 parent b9ea246 commit 2c53c42
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,43 @@ echo "Installing step dependencies"

# dependencies
if ! gem list -i "^down$"; then
echo "Installing gem: down"

gem install "down" --silent --conservative
else
echo "Found gem: down"
fi;

if ! gem list -i "^json$"; then
if ! gem list -i "^json$"; then
echo "Installing gem: json"

gem install "json" --silent --conservative
else
echo "Found gem: json"
fi;

if ! gem list -i "^plist$"; then
if ! gem list -i "^plist$"; then
echo "Installing gem: plist"

gem install "plist" --silent --conservative
else
echo "Found gem: plist"
fi;

if ! gem list -i "^xcodeproj$"; then
if ! gem list -i "^xcodeproj$"; then
echo "Installing gem: xcodeproj"

gem install "xcodeproj" --silent --conservative
else
echo "Found gem: xcodeproj"
fi;

if ! gem list -i "^rubyzip$"; then
echo "Installing gem: rubyzip"

gem install "rubyzip" --silent --conservative
else
echo "Found gem: rubyzip"
fi;

echo "Installed step dependencies"
Expand Down

0 comments on commit 2c53c42

Please sign in to comment.