Sha256: 64f5027c0b231e03ecf1ee968ae914b2aa4a2d39f5394daca04d6650623acea3

Contents?: true

Size: 683 Bytes

Versions: 10

Compression:

Stored size: 683 Bytes

Contents

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
  desc "Builds the documentation into doc/"
  task :build do
    system "curl -X POST
      -d name=sinatra-assetpack
      -d google_analytics=UA-20473929-1
      -d travis=1
      -d color=#777799
      --data-urlencode content@README.md
      http://documentup.com/compiled > doc/index.html".gsub!(/\s+/, ' ')
  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

10 entries across 10 versions & 1 rubygems

Version Path
sinatra-assetpack-0.3.5 Rakefile
sinatra-assetpack-0.3.3 Rakefile
sinatra-assetpack-0.3.2 Rakefile
sinatra-assetpack-0.3.1 Rakefile
sinatra-assetpack-0.3.0 Rakefile
sinatra-assetpack-0.2.8 Rakefile
sinatra-assetpack-0.2.7 Rakefile
sinatra-assetpack-0.2.6 Rakefile
sinatra-assetpack-0.2.5 Rakefile
sinatra-assetpack-0.2.4 Rakefile