Update the Jekyll command for features testing

 🤘 🌟
This commit is contained in:
Tom Bell 2012-12-19 17:54:58 +00:00
parent b7944c5274
commit e24bb02576
1 changed files with 2 additions and 1 deletions

View File

@ -7,10 +7,11 @@ World do
end end
TEST_DIR = File.join('/', 'tmp', 'jekyll') TEST_DIR = File.join('/', 'tmp', 'jekyll')
JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll') JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll2')
def run_jekyll(opts = {}) def run_jekyll(opts = {})
command = JEKYLL_PATH command = JEKYLL_PATH
command << " build"
command << " >> /dev/null 2>&1" if opts[:debug].nil? command << " >> /dev/null 2>&1" if opts[:debug].nil?
system command system command
end end