-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
36 lines (31 loc) · 1.09 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require 'rake'
require 'rake/testtask'
require "rake/clean"
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "sinatra-rdiscount"
gem.summary = "Sinatra extension providing RDiscount templates for Sinatra application."
gem.email = "matwb@univ.gda.pl"
gem.homepage = "http://github.com/wbzyl/sinatra-rdiscount"
gem.description = gem.summary
gem.authors = ["Wlodek Bzyl"]
gem.add_runtime_dependency 'sinatra', '>= 0.10.1'
gem.add_runtime_dependency 'erubis', '>=2.6.4'
gem.add_runtime_dependency 'rdiscount', '>=1.3.4'
gem.add_development_dependency 'rack', '>=1.0.0'
gem.add_development_dependency 'rack-test', '>=0.3.0'
# gem is a Gem::Specification
# refer to http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available."
puts "Install it with:"
puts " sudo gem install jeweler -s http://gemcutter.com"
end
Rake::TestTask.new(:test) do |t|
t.libs << 'lib' << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end