Sha256: c957138fa483d57bacab60f7566b1ef86d0fdef15e7066f90c3ba7acdefd5aaf
Contents?: true
Size: 1.98 KB
Versions: 2
Compression:
Stored size: 1.98 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' begin require 'rake/dsl' rescue LoadError end 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://boxgrinder.org/" p.email = "info@boxgrinder.org" p.runtime_dependencies = [ "boxgrinder-core ~>0.3.0", 'aws', # S3 'amazon-ec2', # EBS and S3 'net-sftp', 'net-ssh', 'progressbar', # SFTP 'rest-client' # ElasticHosts ] 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.9.2 | Rakefile |
boxgrinder-build-0.9.1 | Rakefile |