Sha256: 38fab3d1f198b0a0be09faee453a535b803a3f7c40d5f36eebfdcc646ef08c26

Contents?: true

Size: 995 Bytes

Versions: 1

Compression:

Stored size: 995 Bytes

Contents

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

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "sinatra-maruku"
    s.summary = "An extension providing Maruku templates for Sinatra applications."
    s.email = "matwb@univ.gda.pl"
    s.homepage = "http://github.com/wbzyl/sinatra-maruku"
    s.description = "An extension providing Maruku templates for Sinatra applications."
    s.authors = ["Włodek Bzyl"]
    
    s.add_dependency 'maruku', '>=0.6.0'        
  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-maruku-0.0.6 Rakefile