diff options
author | B Mathis <brandon@imathis.com> | 2009-11-07 12:05:10 -0600 |
---|---|---|
committer | B Mathis <brandon@imathis.com> | 2009-11-07 12:05:10 -0600 |
commit | 24c5fedcbca655b0d2c32ccba7a63357daab7d05 (patch) | |
tree | da788728177e933a513fa49eeefc6939444ad7ef /Rakefile | |
parent | 69379ab044fd4b06f36ebade76ed41b5f4f2a67c (diff) | |
download | my_new_personal_website-24c5fedcbca655b0d2c32ccba7a63357daab7d05.tar.xz my_new_personal_website-24c5fedcbca655b0d2c32ccba7a63357daab7d05.zip |
udpated thirdparty integration, it is now conditionally added, updated readme
Diffstat (limited to '')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -20,7 +20,7 @@ end desc "generate website in output directory" task :default => [:generate_site, :generate_style] do - puts ">>> Site Generating Complete! <<<" + puts ">>> Site Generating Complete! <<<\n\n" end desc "list tasks" @@ -48,19 +48,20 @@ end desc "Generate site files only" task :generate_site => [:clean, :generate_style] do - puts ">>> Generating site files <<<" + puts "\n\n>>> Generating site files <<<" system "jekyll" system "mv #{site}/atom.html #{site}/atom.xml" end def rebuild_site(relative) + puts "\n" puts ">>> Change Detected to: #{relative} <<<" IO.popen('rake generate_site'){|io| print(io.readpartial(512)) until io.eof?} puts '>>> Update Complete <<<' end def rebuild_style(relative) - puts ">>> Change Detected to: #{relative} <<<" + puts "\n\n>>> Change Detected to: #{relative} <<<" IO.popen('rake generate_style'){|io| print(io.readpartial(512)) until io.eof?} puts '>>> Update Complete <<<' end |