1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00
2015-03-07 12:49:49 -05:00

15 lines
313 B
Ruby

require "html/proofer"
require 'rspec/core/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rspec_opts = ["--order", "rand", "--color"]
end
task :test do
sh "bundle exec jekyll build --trace"
HTML::Proofer.new("./_site").run
Rake::Task["spec"].invoke
end