Sha256: a3593db3ae89b93761f3a17ad7282e612041ab78d8cab29306a95ded7607e71f

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

require "rake/rdoctask"
require "rspec/core/rake_task"

desc "Run the unit specs"
task :default => "spec:unit"

namespace :spec do
  RSpec::Core::RakeTask.new(:unit) do |t|
    t.pattern = "spec/unit/**/*_spec.rb"
  end

  RSpec::Core::RakeTask.new(:acceptance) do |t|
    t.pattern = "spec/acceptance/**/*_spec.rb"
  end

  desc "all tests"
  task :all => %w[ spec:unit spec:acceptance ]
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title = "minilab: Ruby library for the miniLAB 1008"
  rdoc.options = %w[ --main README.rdoc --title minilab ]
  rdoc.rdoc_files.include("lib/minilab.rb", "README.rdoc", "CHANGES", "LICENSE")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minilab-2.0.0-x86-mingw32 Rakefile