Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated Rakefile to run my fork of Jekyll with the "test" task.

  • Loading branch information...
commit 3c6aa786690d7a6555aaccabc32947962a9fa90a 1 parent c72d09b
@appden authored
Showing with 11 additions and 3 deletions.
  1. +11 −3 Rakefile
View
14 Rakefile
@@ -1,13 +1,21 @@
+def jekyll(opts = "", path = "")
+ sh "rm -rf _site"
+ sh path + "jekyll " + opts
+end
+
desc "Build site using Jekyll"
task :build do
- sh "rm -rf _site"
- sh "jekyll"
+ jekyll
end
desc "Serve on Localhost with port 4000"
task :default do
- sh "jekyll --server --auto"
+ jekyll("--server --auto")
+end
+
+task :test do
+ jekyll("--server --auto", "../jekyll/bin/")
end
desc "Deploy to Dev"
Please sign in to comment.
Something went wrong with that request. Please try again.