Sha256: a33607aba9b1bfeb5e58888a323f399e803b41bd36c2270b62fdfdb6f4a87f74

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 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 './db/seed'
  Techcor::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/techcor/version'
Jeweler::Tasks.new do |gem|
  gem.name = "techcor"
  gem.homepage = "http://github.com/maksar/techcor"
  gem.license = "MIT"
  gem.summary = %Q{Console tool allowing to perform technical coordination activities}
  gem.description = %Q{This gem provides 'techcor' 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(techcor)
  gem.version = Techcor::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

4 entries across 4 versions & 1 rubygems

Version Path
techcor-0.0.10 Rakefile
techcor-0.0.9 Rakefile
techcor-0.0.8 Rakefile
techcor-0.0.7 Rakefile