Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 14 lines (11 sloc) 0.275 kb
47f9a96 @carlosantoniodasilva Add bundler gem tasks for building/releasing
carlosantoniodasilva authored
1 require 'bundler/gem_tasks'
bef4d38 @knapo Change *rake test* to use Rake::TestTask
knapo authored
2 require 'rake/testtask'
3
dae5469 @yaroslav Let's have a simple Rakefile.
yaroslav authored
4 task :default => [:test]
5
bef4d38 @knapo Change *rake test* to use Rake::TestTask
knapo authored
6 Rake::TestTask.new(:test) do |t|
2c5bacb @svenfuchs add lib to test task libs, set warning to true
authored
7 t.libs << 'lib'
5a2fe67 @tenderlove let Rake set the load path
tenderlove authored
8 t.libs << 'test'
de08cd7 @carlosantoniodasilva Fix pattern to only load files under our test directory
carlosantoniodasilva authored
9 t.pattern = "test/**/*_test.rb"
bef4d38 @knapo Change *rake test* to use Rake::TestTask
knapo authored
10 t.verbose = true
2c5bacb @svenfuchs add lib to test task libs, set warning to true
authored
11 t.warning = true
dae5469 @yaroslav Let's have a simple Rakefile.
yaroslav authored
12 end
9c82841 @norman Added some utility methods to Rakefile.
norman authored
13 Rake::Task['test'].comment = "Run all i18n tests"
Something went wrong with that request. Please try again.