Sha256: 4148e8b574a4ed82dfe43401ee80cfa55abf0a072a007a0afdb16e3ccfee3fad
Contents?: true
Size: 1.87 KB
Versions: 2
Compression:
Stored size: 1.87 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 = ["commander ~>4.0.3", "boxgrinder-core ~>0.1.5"] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
boxgrinder-build-0.7.1 | Rakefile |
boxgrinder-build-0.7.0 | Rakefile |