Sha256: 157fc5a017d00c1c301027bda70b13edcb1d3b01b77fd54d23295c08ac59e0e2

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

require 'rspec/core/rake_task'
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:cucumber)
RSpec::Core::RakeTask.new(:rspec) do |t|
  t.rspec_opts = ' -r simplecov'
end

desc "Creates bunch of test data in database"
task :seed do
  require_relative 'db/seed'
  seed
end

desc "Run Cucumber & RSpec to generate aggregated coverage"
task :default do
  FileUtils.rm_rf('coverage')

  Rake::Task['rspec'].invoke
  Rake::Task["cucumber"].invoke
end

require 'jeweler'
require_relative 'lib/tc/version'
Jeweler::Tasks.new do |gem|
  gem.name = "techcor"
  gem.homepage = "http://github.com/maksar/tc"
  gem.license = "MIT"
  gem.summary = %Q{Console tool allowing to perform technical coordination activities}
  gem.description = %Q{This gem provides 'tc' console utility, which allows to collect and manage different metrics on software projects.}
  gem.email = "Maksar.mail@gmail.com"
  gem.authors = ["Alexander Shestakov"]

  gem.executables = %w(tc)
  gem.version = TC::Version::STRING

  gem.files.exclude '.*'
  gem.files.exclude '*.gemspec'

  gem.add_dependency 'mongoid', '~> 3.0.0.rc'
  gem.add_dependency 'bson_ext'
  gem.add_dependency 'hirb'
  gem.add_dependency 'gli', '~> 2.0.0.rc'
end
Jeweler::RubygemsDotOrgTasks.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
techcor-0.0.1 Rakefile