Sha256: f13a934df5ba592dbb2b42f24d6e8b417cfbeb277d8f67ffeb42e2d8f3ab0ba9

Contents?: true

Size: 538 Bytes

Versions: 14

Compression:

Stored size: 538 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require 'rdoc/task'

RSpec::Core::RakeTask.new(:spec => :generate_code)

task :default => :spec

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.main = "README.md"
  rdoc.rdoc_dir = "rdoc"
  rdoc.rdoc_files.include("README.md", "lib/**/*.rb")
end

# also generates 'lib/gepub/book_add_item.rb' 
file 'lib/gepub/metadata_add.rb' => 'tools/generate_function.rb' do
	sh %Q(ruby tools/generate_function.rb)
end

desc 'auto generate code'
task :generate_code => ['lib/gepub/metadata_add.rb'] 

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gepub-1.0.11 Rakefile
gepub-1.0.10 Rakefile
gepub-1.0.9 Rakefile
gepub-1.0.8 Rakefile
gepub-1.0.7 Rakefile
gepub-1.0.6 Rakefile
gepub-1.0.5 Rakefile
gepub-1.0.4 Rakefile
gepub-1.0.3 Rakefile
gepub-1.0.2 Rakefile
gepub-1.0.1 Rakefile
gepub-1.0.0 Rakefile
gepub-1.0.0rc1 Rakefile
gepub-1.0.0beta1 Rakefile