Sha256: a643e097a5e93a85326b926fb62d3808b944ee6814e6ec700584cf81970bf102

Contents?: true

Size: 851 Bytes

Versions: 16

Compression:

Stored size: 851 Bytes

Contents

desc "Invokes the test suite in multiple RVM environments"
task :'test!' do
  # Override this by adding RVM_TEST_ENVS=".." in .rvmrc
  envs = ENV['RVM_TEST_ENVS'] || '1.9.2@sinatra,1.8.7@sinatra'
  puts "* Testing in the following RVM environments: #{envs.gsub(',', ', ')}"
  system "rvm #{envs} rake test" or abort
end

desc "Runs tests"
task :test do
  Dir['test/*_test.rb'].each { |f| load f }
end

task :default => :test

gh = "rstacruz/sinatra-assetpack"
namespace :doc do
  # http://github.com/rstacruz/reacco
  desc "Builds the documentation into doc/"
  task :build do
    system "reacco -a --github #{gh} --css docsrc/style.css"
  end

  # http://github.com/rstacruz/git-update-ghpages
  desc "Posts documentation to GitHub pages"
  task :deploy => :build do
    system "git update-ghpages #{gh} -i doc/"
  end
end

task :doc => :'doc:build'

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
sinatra-assetpack-0.2.0 Rakefile
sinatra-assetpack-0.1.7 Rakefile
sundawg-sinatra-assetpack-fork-0.1.6 Rakefile
sinatra-assetpack-0.1.6 Rakefile
sinatra-assetpack-0.1.5 Rakefile
sinatra-assetpack-0.1.4 Rakefile
sinatra-assetpack-0.1.3 Rakefile
sinatra-assetpack-0.1.2 Rakefile
sinatra-assetpack-0.1.1 Rakefile
sinatra-assetpack-0.1.0 Rakefile
sinatra-assetpack-flexible-compression-0.0.1 Rakefile
sundawg-sinatra-assetpack-fork-0.0.12.pre1 Rakefile
sinatra-assetpack-0.0.12.pre1 Rakefile
sinatra-assetpack-0.0.11 Rakefile
sinatra-assetpack-0.0.10 Rakefile
sinatra-assetpack-0.0.9 Rakefile