Sha256: 66a2542425b5bd98021891c5bd0a8dd381793cdbe120fae8f1e7f3c4ea59bcd1
Contents?: true
Size: 719 Bytes
Versions: 5
Compression:
Stored size: 719 Bytes
Contents
# encoding: utf-8 require 'bundler/gem_tasks' gemspec = Bundler::GemHelper.gemspec require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'test' test.ruby_opts << '-r./test/simplecov_start.rb' unless RUBY_VERSION < '1.9' || (RUBY_PLATFORM == 'java' && ENV['TRAVIS']) test.test_files = gemspec.test_files test.verbose = true end require 'rdoc/task' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "#{gemspec.name} #{gemspec.version}" rdoc.rdoc_files.include(gemspec.extra_rdoc_files) rdoc.rdoc_files.include('lib/**/*.rb') end task :default => :test task :test => 'lib/webrobots/robotstxt.rb' rule '.rb' => ['.ry'] do |t| sh 'racc', '-o', t.name, t.source end
Version data entries
5 entries across 5 versions & 2 rubygems