Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (22 sloc) 0.487 kb
824d198 @ndbroadbent Added overrides for sprockets gem
authored
1 #!/usr/bin/env rake
2 require 'rake/testtask'
3 ENV["TEST_CORES"] = "1"
4
5 namespace :test do
6 task :isolated do
7 Dir["test/assets*_test.rb"].each do |file|
8 dash_i = [
9 'test',
10 'lib',
11 ]
12 ruby "-I#{dash_i.join ':'}", file
13 end
14 end
15 end
16
17 Rake::TestTask.new("test:regular") do |t|
18 t.libs << 'lib'
19 t.libs << 'test'
20 t.pattern = 'test/**/sprockets*_test.rb'
21 t.verbose = true
22 end
23
24 task :test => ['test:isolated', 'test:regular']
25 task :default => :test
Something went wrong with that request. Please try again.