Sha256: f1e5109e06de0d155b643b0f6533167314aef69ad1f2a46f32530c0491fa2e9b
Contents?: true
Size: 851 Bytes
Versions: 3
Compression:
Stored size: 851 Bytes
Contents
require 'rubygems' begin require 'bundler' rescue LoadError $stderr.puts "You must install bundler - run `gem install bundler`" end begin Bundler.setup rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'bueller' Bueller::Tasks.new require 'rake' require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end task :default => :test begin require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'leap' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end rescue LoadError puts "Rdoc is not available" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
leap-0.5.4 | Rakefile |
leap-0.5.3 | Rakefile |
leap-0.5.2 | Rakefile |