This commit is contained in:
Ben Balter 2017-02-17 11:47:17 -05:00
Родитель 2d9528031f
Коммит 5254677283
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: DBB67C246AD356C4
1 изменённых файлов: 23 добавлений и 0 удалений

23
script/test-site Executable file
Просмотреть файл

@ -0,0 +1,23 @@
#!/bin/sh
# Test that the default Jekyll site builds
set -e
rm -Rf ./test-site
bundle exec jekyll new test-site
BUNDLE_GEMFILE="$(pwd)/Gemfile"
export BUNDLE_GEMFILE
cd test-site
rm -Rf Gemfile
echo "Using $(bundle exec github-pages --version)"
echo "Using $(bundle exec jekyll --version)"
bundle exec jekyll build --trace --verbose
grep --quiet "Your awesome title" ./_site/index.html
echo "Site built!"
cd ..
rm -Rf ./test-site