Skip to content

Commit 4f276a3

Browse files
committed
Check for PhantomJS installed in script/bootstrap
1 parent 3b1163e commit 4f276a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

script/bootstrap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
set -e
33

44
bundle install
5+
6+
if phantom_version="$(phantomjs --version)"; then
7+
echo "PhantomJS $phantom_version"
8+
else
9+
echo "Warning: script/test will not be able to run, but you can still start" >&2
10+
echo "script/server and open the test suite in your browser." >&2
11+
fi

0 commit comments

Comments
 (0)