canyin-project/ybcy/vendor/bower-asset/yii2-pjax/script/bootstrap
2024-11-01 16:07:54 +08:00

13 lines
317 B
Bash

#!/usr/bin/env bash
set -e
[ -n "$CI" ] || npm install
bundle install
if phantom_version="$(phantomjs --version)"; then
echo "PhantomJS $phantom_version"
else
echo "Warning: script/test will not be able to run, but you can still start" >&2
echo "script/server and open the test suite in your browser." >&2
fi