Sha256: c78ff8663c0eda3eb7ac7407e0f77725ce2f2fe46f7053b8da6ad5c13071142a
Contents?: true
Size: 930 Bytes
Versions: 1
Compression:
Stored size: 930 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require 'rspec' require 'rspec/core/rake_task' desc "Run only unit test examples" RSpec::Core::RakeTask.new do |t| t.rspec_opts = ["-c", "-f progress"] t.pattern = 'spec/unit/**/*_spec.rb' end desc "Run only integration test examples" RSpec::Core::RakeTask.new(:'spec:integration') do |t| t.rspec_opts = ["-c", "-f progress"] t.pattern = 'spec/integration/**/*_spec.rb' end desc "Run all test examples including integration tests" RSpec::Core::RakeTask.new(:'spec:all') do |t| t.rspec_opts = ["-c", "-f progress"] t.pattern = 'spec/**/*_spec.rb' end task :default => :spec require 'rdoc/task' RDoc::Task.new do |rdoc| rdoc.main = "README.rdoc" rdoc.rdoc_dir = 'rdoc' rdoc.title = "earl" rdoc.rdoc_files.include('README*', 'lib/**/*.rb') end desc "Open an irb session preloaded with this library" task :console do sh "irb -rubygems -I lib -r earl.rb" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
earl-1.0.0 | Rakefile |