Skip to content

Commit

Permalink
Override baseurl in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 9, 2016
1 parent 19969d5 commit 45d18b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/build
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
echo "==> Building the site…"
bundle exec jekyll build --baseurl '' $@
bundle exec jekyll build $@
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -e

script/build
script/build --config _config.yml,test/_config.yml
bundle exec rake
bundle exec htmlproofer _site
2 changes: 2 additions & 0 deletions test/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Override config for tests
baseurl: ""

0 comments on commit 45d18b3

Please sign in to comment.