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