add test to build the default site
This commit is contained in:
parent
26f1ea2487
commit
ca03a41564
|
@ -9,6 +9,7 @@ then
|
|||
script/fmt
|
||||
script/test ci
|
||||
script/cucumber
|
||||
script/default-site
|
||||
elif [[ -x "script/$TEST_SUITE" ]]
|
||||
then
|
||||
script/$TEST_SUITE
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
# Runs the `jekyll new` command and builds the default site as a sanity check
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p ./tmp
|
||||
rm -Rf ./tmp/default-site
|
||||
|
||||
bundle exec jekyll new tmp/default-site
|
||||
cd tmp/default-site
|
||||
|
||||
bundle exec jekyll build --verbose
|
Loading…
Reference in New Issue