forked from cucumber/cucumber-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
32 lines (23 loc) · 703 Bytes
/
Rakefile
File metadata and controls
32 lines (23 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# encoding: utf-8
require 'rubygems'
require 'bundler'
Bundler::GemHelper.install_tasks
$:.unshift(File.dirname(__FILE__) + '/lib')
Dir['gem_tasks/**/*.rake'].each { |rake| load rake }
require 'rubocop/rake_task'
RuboCop::RakeTask.new
require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
t.profile = 'ruby' if Cucumber::RUBY
end
default_tasks = [:spec, :rubocop, :cucumber]
if ENV['TRAVIS']
ENV['SIMPLECOV'] = 'ci'
ENV['JRUBY_OPTS'] = [ENV['JRUBY_OPTS'], '--debug'].compact.join(' ')
require 'coveralls/rake/task'
Coveralls::RakeTask.new
default_tasks << 'coveralls:push'
end
task :default => default_tasks
require 'rake/clean'
CLEAN.include %w(**/*.{log,pyc,rbc,tgz} doc)