Skip to content

Commit

Permalink
Rakefile: add build and test tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jan 30, 2017
1 parent 824a7fa commit a45bcd7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require "rake"

task :default => :build

desc "Build the site."
task :build do
sh "bundle exec jekyll build"
end

desc "Run html proofer to validate the HTML output."
task :test => :build do
require "html-proofer"
HTMLProofer.check_directory("./_site",
:parallel => { :in_threads => 4 },
:favicon => true
).run
end

0 comments on commit a45bcd7

Please sign in to comment.