Sha256: f12892affb31e63bc1dd860d35813d260106ee39227f89a5b367e1ab3e030ad9
Contents?: true
Size: 650 Bytes
Versions: 19
Compression:
Stored size: 650 Bytes
Contents
require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' end Spec::Rake::SpecTask.new(:rcov) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true spec.rcov_opts = %w[--exclude spec,fcntl,path_helper,yaml,rack,jruby --include lib/celerity --no-rcovrt] end if File.exist?(path = "spec/watirspec/watirspec.rake") load path end namespace :watirspec do desc 'Initialize and fetch the watirspec submodule' task :init do sh "git submodule init" sh "git submodule update" end end task :default => :spec
Version data entries
19 entries across 19 versions & 3 rubygems