aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2014-06-21 13:55:43 -0500
committerBrandon Mathis <brandon@imathis.com>2014-06-21 13:55:43 -0500
commit72ea6042e33f0b92e4923c3af00e923f19472573 (patch)
tree9d2fb6c30bc8463a8553f4c1962d9b3295e96559 /Rakefile
parent695fe922a9c25d3f41fddccf9d2e4ba2fc02ef52 (diff)
parent06c04397053e46fe02fcecce589a2de76d21e160 (diff)
downloadmy_new_personal_website-72ea6042e33f0b92e4923c3af00e923f19472573.tar.xz
my_new_personal_website-72ea6042e33f0b92e4923c3af00e923f19472573.zip
Merge pull request #1589 from imathis/jekyll-2
Jekyll 2.0 compatability
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 71fb44ea..7c15332e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -57,7 +57,7 @@ task :generate do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
puts "## Generating Site with Jekyll"
system "compass compile --css-dir #{source_dir}/stylesheets"
- system "jekyll"
+ system "jekyll build"
end
desc "Watch the site and regenerate when it changes"
@@ -65,7 +65,7 @@ task :watch do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
puts "Starting to watch source with Jekyll and Compass."
system "compass compile --css-dir #{source_dir}/stylesheets" unless File.exist?("#{source_dir}/stylesheets/screen.css")
- jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll --auto")
+ jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build --watch")
compassPid = Process.spawn("compass watch")
trap("INT") {
@@ -81,7 +81,7 @@ task :preview do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
puts "Starting to watch source with Jekyll and Compass. Starting Rack on port #{server_port}"
system "compass compile --css-dir #{source_dir}/stylesheets" unless File.exist?("#{source_dir}/stylesheets/screen.css")
- jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll --auto")
+ jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build --watch")
compassPid = Process.spawn("compass watch")
rackupPid = Process.spawn("rackup --port #{server_port}")