Sha256: 4ea2bd633a1d4acb5291a516231bc25c3197c661b3a1118129911ea62278ef07

Contents?: true

Size: 595 Bytes

Versions: 2

Compression:

Stored size: 595 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
require "rdoc/task"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/*_test.rb"]
end

Rake::TestTask.new(:examples) do |t|
  t.libs << "examples"
  #t.libs << "lib" # uncomment for local development without the gem installed.
  t.test_files = FileList["examples/test/*_test.rb"]
end

Rake::RDocTask.new do |rdoc|
  files = ['README.md', 'LICENSE.txt', 'lib/']
  rdoc.rdoc_files.add(files)
  rdoc.rdoc_dir = "doc"
  rdoc.main = "README.md" # page to start on
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compact-0.1.1 Rakefile
compact-0.1.0 Rakefile