public
Description: Simple tool to help track git and svn vendor branches in a git repository
Homepage: http://github.com/evilchelu/braid/wikis/home
Clone URL: git://github.com/evilchelu/braid.git
braid / Rakefile
100644 18 lines (13 sloc) 0.349 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'rake'
require 'rake/testtask'
 
task :default => :test
 
def test_task(name, pattern)
  Rake::TestTask.new(name) do |t|
    ENV['TESTOPTS'] = '--runner=s'
 
    t.libs << 'lib'
    t.pattern = pattern
    t.verbose = true
  end
end
 
test_task(:test, "test/*_test.rb")
namespace(:test) { test_task(:integration, "test/integration/*_test.rb") }