Sha256: 084a8e7b1546e3f3553f1afc23b19e827e06e52a74dff5f29c67b7e45d76b3ca
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require "rdoc/task" require "rspec/core/rake_task" require "rubocop/rake_task" RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) namespace :spec do desc 'Clean all generated reports' task :clean do system('rm -rf spec/reports') end RSpec::Core::RakeTask.new(all: :clean) do |config| options = %w[--color] options += %w[--format documentation] options += %w[--format html --out spec/reports/unit-test-report.html] config.rspec_opts = options end end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'doc' rdoc.main = 'README.md' rdoc.title = "Tapestry #{BrowserScroll::VERSION}" rdoc.rdoc_files.include('README*', 'lib/**/*.rb') end task default: ['spec:all', :rubocop]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
browser_scroll-0.5.0 | Rakefile |