jish/pre-commit

View on GitHub
templates/gem/Rakefile

Summary

Maintainability
Test Coverage
=begin
Copyright <%= copyright %>

See the file LICENSE for copying permission.
=end

require "rake/testtask"

Rake::TestTask.new do |test|
  test.libs << "test" << "lib"
  test.pattern = "test/**/*_test.rb"
  test.verbose = true
end

namespace :pre_commit do
  task :ci => [:test]
end

task :ci => [:test]
task :default => [:test]