1
0
mirror of https://github.com/github/choosealicense.com synced 2025-01-06 03:43:36 +01:00
2015-03-07 12:47:24 -05:00

15 lines
340 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"
# ignore href="#" for the "Copy to clipboard" button
HTML::Proofer.new("./_site").run
end