Sha256: 97ce0d1d60c58910057d78bf3e2a9e34537f40959911ced500d336f9f1b0a6e9

Contents?: true

Size: 1.86 KB

Versions: 1

Compression:

Stored size: 1.86 KB

Contents

#
# Copyright 2010 Red Hat, Inc.
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of
# the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.

require 'rubygems'
require 'spec/rake/spectask'
require 'echoe'

Echoe.new("boxgrinder-build") do |p|
  p.project     = "BoxGrinder Build"
  p.author      = "Marek Goldmann"
  p.summary     = "A tool for creating appliances from simple plain text files for various virtual environments."
  p.url         = "http://www.jboss.org/boxgrinder"
  p.email       = "info@boxgrinder.org"
  p.runtime_dependencies = ["thor >=0.13", "boxgrinder-core ~>0.2.1"]
end

desc "Run all tests"
Spec::Rake::SpecTask.new('spec') do |t|
  t.libs.unshift "../boxgrinder-core/lib"
  t.rcov = false
  t.spec_files = FileList["spec/**/*-spec.rb"]
  t.spec_opts = ['--colour', '--format', 'specdoc', '-b']
  t.verbose = true
end

desc "Run all tests and generate code coverage report"
Spec::Rake::SpecTask.new('spec:coverage') do |t|
  t.libs.unshift "../boxgrinder-core/lib"
  t.spec_files = FileList["spec/**/*-spec.rb"]
  t.spec_opts = ['--colour', '--format', 'html:pkg/rspec_report.html', '-b']
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec,teamcity/*,/usr/lib/ruby/,.gem/ruby,/boxgrinder-core/,/gems/']
  t.verbose = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
boxgrinder-build-0.8.1 Rakefile