mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
add test to build the default site
This commit is contained in:
@@ -9,6 +9,7 @@ then
|
||||
script/fmt
|
||||
script/test ci
|
||||
script/cucumber
|
||||
script/default-site
|
||||
elif [[ -x "script/$TEST_SUITE" ]]
|
||||
then
|
||||
script/$TEST_SUITE
|
||||
|
||||
12
script/default-site
Executable file
12
script/default-site
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user