Skip to content

Commit

Permalink
Check for PhantomJS in setup script (thoughtbot#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
odlp authored and fwolfst committed Mar 8, 2017
1 parent 4a1a93d commit 8219bb4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if ! command -v foreman > /dev/null; then
printf 'See https://github.com/ddollar/foreman for install instructions.\n'
fi

if ! command -v phantomjs > /dev/null; then
printf 'Phantomjs is not installed.\n'
printf 'See http://phantomjs.org/download.html for install instructions.\n'
fi

# Only if this isn't CI
# if [ -z "$CI" ]; then
# fi
Expand Down

0 comments on commit 8219bb4

Please sign in to comment.