File: Rakefile

package info (click to toggle)
ruby-flexmock 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 836 kB
  • sloc: ruby: 7,572; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.ruby_opts << '-w'
  t.test_files = FileList['test/*_test.rb']
end

task :test_rspec do
    if !system('rspec', 'test/rspec_integration')
        puts "RSpec tests failed"
        exit 1
    end
end

task :default => :test