Sha256: 509d52997686579e5ad56037329da476a96106a318552944e6a12602c9057dc6

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require 'cucumber'
require 'cucumber/rake/task'

if File.exist?(Dir.home + '/.trooconf')
  Cucumber::Rake::Task.new(:cucumber) do |t|
    t.cucumber_opts = "features --format progress"
  end

  Rake::TestTask.new do |t|
    t.libs << 'lib/troo'
    t.test_files = FileList["test/lib/troo/*_test.rb",
                            "test/lib/troo/**/*_test.rb"]
    t.verbose = false
  end

  task :default => :test

  Rake::Task['cucumber'].execute
else
  warn "\nConfiguration cannot be found, please run `troo " \
       "init` or `./bin/troo init` first.\n"
  exit(1)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.12 Rakefile