Sha256: d80c8a2be9278ac268dc528211d1e8889755d41332012ccb7798f409f052b5ba

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'yard'
require 'cucumber'
require 'cucumber/rake/task'

task :default => :test
task :test => 'test:default'

namespace :test do
  task :default => [:build, :test]

  Rake::TestTask.new do |task|
    task.test_files = FileList['test/**/test_*.rb']
    task.warning = true
    task.options = '--no-show-detail-immediately --verbose'
  end

  desc 'Build the test fixture EPUB'
  task :build do
    input_dir  = 'test/fixtures/book'
    output_dir = 'test/fixtures/'
    FileList["#{input_dir}/**/*"]
    sh "epzip #{input_dir}"
  end
end


YARD::Rake::YardocTask.new

Cucumber::Rake::Task.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epub-parser-0.1.0 Rakefile