Sha256: 38a3d4705964c638f59a3d6b35a21da745f86ba9d9e0be990cb36c4c44fc6543

Contents?: true

Size: 822 Bytes

Versions: 22

Compression:

Stored size: 822 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', 'app/*.rb', 'spec/**/*.rb']
    t.options = ['-odocs/'] # optional
  end

end

task :default => "spec"

task :spec => :"spec:run"
task :rspec => :spec
namespace :spec do
  task :environment do
    ENV["RACK_ENV"] = "test"
  end

  desc "Run specs"
  task :run, [:any_args] => :"spec:environment" do |t,args|
    warn "Entering spec task."
    any_args = args[:any_args] || ""
    cmd = "bin/rspec #{any_args}"
    warn cmd
    system cmd
  end

end

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
rack-jquery-helpers-0.0.2 Rakefile
rack-jquery_ui-themes-1.0.0 Rakefile
rack-jquery-1.2.0 Rakefile
rack-jquery_ui-1.0.2 Rakefile
rack-jquery_ui-1.0.1 Rakefile
rack-jquery_ui-themes-0.1.1 Rakefile
rack-jquery-1.1.0 Rakefile
rack-jquery_ui-1.0.0 Rakefile
rack-jquery_ui-themes-0.1.0 Rakefile
rack-jquery_ui-themes-0.0.3 Rakefile
rack-jquery_ui-themes-0.0.2 Rakefile
rack-jquery_ui-0.0.5 Rakefile
rack-jquery-1.0.4 Rakefile
rack-jquery-1.0.3 Rakefile
rack-jquery_ui-0.0.4 Rakefile
rack-jquery-helpers-0.0.1 Rakefile
rack-jquery_ui-0.0.3 Rakefile
rack-jquery_ui-0.0.2 Rakefile
rack-jquery_ui-0.0.1 Rakefile
rack-jquery-1.0.2 Rakefile