Sha256: 5576ef3d1e8601e977a4a83b75023046c79d5291a29d6237ae68a1c204ec0cb9
Contents?: true
Size: 698 Bytes
Versions: 2
Compression:
Stored size: 698 Bytes
Contents
require 'bundler/gem_tasks' desc "(Re-) generate documentation and place it in the docs/ dir. Open the index.html file in there to read it." task :docs => [:"docs:environment", :"docs:yard"] namespace :docs do task :environment do ENV["RACK_ENV"] = "documentation" end require 'yard' YARD::Rake::YardocTask.new :yard do |t| t.files = ['lib/**/*.rb'] t.options = ['-odocs/'] # optional end end namespace :examples do desc "Run the examples." task :run do exec "bundle exec rackup examples/config.ru" end end task :default => "spec" require 'rspec/core/rake_task' desc "Run specs" RSpec::Core::RakeTask.new do |t| t.pattern = "./spec/**/*_spec.rb" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra-exstatic-assets-2.0.1 | Rakefile |
sinatra-exstatic-assets-2.0.0 | Rakefile |