Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b5e96f13a3
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.729 kB
# encoding: utf-8
GHERKIN_VERSION = Gem::Specification.load(File.dirname(__FILE__) + '/gherkin.gemspec').version.version
require 'rubygems'
unless ENV['RUBY_CC_VERSION']
require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks
end
ENV['RUBYOPT'] = nil # Necessary to prevent Bundler from *&^%$#ing up rake-compiler.
require 'rake/clean'
begin
# Support Rake >= 0.9.0
require 'rake/dsl_definition'
include Rake::DSL
rescue LoadError
end
$:.unshift(File.dirname(__FILE__) + '/lib')
Dir['tasks/**/*.rake'].each { |rake| load File.expand_path(rake) }
task :default => [:spec, :cucumber]
task :spec => defined?(JRUBY_VERSION) ? :jar : :compile
task :cucumber => defined?(JRUBY_VERSION) ? :jar : :compile
Jump to Line
Something went wrong with that request. Please try again.