Sha256: 277fed6242279c7bf86829a1eeb52df036951842e3bd9b04ff4b4265ec6ad10a

Contents?: true

Size: 969 Bytes

Versions: 1

Compression:

Stored size: 969 Bytes

Contents

# -*- coding: utf-8 -*-

require 'rake'
require 'rake/testtask'
require "rake/clean"

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "sinatra-static-assets"
    s.summary = "Sinatra extension providing helper methods to output tags for static assets."
    s.email = "matwb@univ.gda.pl"
    s.homepage = "http://github.com/wbzyl/sinatra-static-assets"
    s.description = s.summary
    s.authors = ["Włodek Bzyl"]

    s.add_dependency 'emk-sinatra-url-for', '>=0.2.1'      
  end
rescue LoadError
  puts "Jeweler not available."
  puts "Install it with:"
  puts "  sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib' << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

desc 'Install the package as a gem.'
task :install => [:clean, :build] do
  gem = Dir['pkg/*.gem'].last
  sh "sudo gem install --no-rdoc --no-ri --local #{gem}"
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wbzyl-sinatra-static-assets-0.0.2 Rakefile