Sha256: f67958128e9f2a44b9195e40b25eb1b4b87168ad579f6625a771509751da8977
Contents?: true
Size: 911 Bytes
Versions: 2
Compression:
Stored size: 911 Bytes
Contents
require "bundler/gem_tasks" # Bundler::GemHelper.install_tasks # require 'bundler/gem_tasks' # require 'rake/testtasks' # require 'rubygems' # require 'rake' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = 'spec/**/*_spec.rb' end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end # task :spec => :check_dependencies begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) task :features => :check_dependencies rescue LoadError task :features do abort 'Cucumber is not available. In order to run features, ' + 'you must: sudo gem install cucumber' end end desc 'Run an IRB session with CSL loaded' task :irb, [:script] do |t, args| ARGV.clear require 'irb' require_relative 'lib/dwc-archive' IRB.conf[:SCRIPT] = args.script IRB.start end task :default => :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dwc-archive-0.9.11 | Rakefile |
dwc-archive-0.9.10 | Rakefile |