Skip to content

Commit

Permalink
Hacky fix for raketask
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpate committed Jan 25, 2017
1 parent 446d5d9 commit cff0b70
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ $:.unshift lib unless $:.include?(lib)
require "rake"
require "rubygems"
require "tmpdir"
require "jekyll"
require "pusher-chameleon/version"

GITHUB_REPONAME = "pusher/chameleon"
Expand All @@ -26,11 +25,7 @@ namespace :chameleon do
desc "Generate docs files"
task :generate_docs do
Dir.chdir "docs"
Jekyll::Site.new(Jekyll.configuration({
"source" => ".",
"destination" => "_site",
"config" => ["_config.yml","_config.production.yml"]
})).process
system "jekyll build --config _config.yml,_config.production.yml"
end

desc "Generate and publish docs to gh-pages"
Expand All @@ -51,4 +46,4 @@ namespace :chameleon do
Dir.chdir pwd
end
end
end
end

0 comments on commit cff0b70

Please sign in to comment.