Skip to content
Newer
Older
100644 36 lines (32 sloc) 932 Bytes
8505c63 Initial commit to toto.
cloudhead authored Oct 26, 2009
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "toto"
33d5118 cleaned up Rakefile
cloudhead authored Oct 27, 2009
8 gem.summary = %Q{the tiniest blog-engine in Oz}
9 gem.description = %Q{the tiniest blog-engine in Oz.}
8505c63 Initial commit to toto.
cloudhead authored Oct 26, 2009
10 gem.email = "self@cloudhead.net"
11 gem.homepage = "http://github.com/cloudhead/toto"
12 gem.authors = ["cloudhead"]
1c7876a gemified
cloudhead authored Nov 24, 2009
13 gem.add_development_dependency "riot"
14 gem.add_dependency "builder"
15 gem.add_dependency "rack"
e6febab win32 support *gasp*
cloudhead authored May 11, 2010
16 if RUBY_PLATFORM =~ /win32/
17 gem.add_dependency "maruku"
18 else
19 gem.add_dependency "rdiscount"
20 end
8505c63 Initial commit to toto.
cloudhead authored Oct 26, 2009
21 end
22 Jeweler::GemcutterTasks.new
23 rescue LoadError
24 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
25 end
26
27 require 'rake/testtask'
28 Rake::TestTask.new(:test) do |test|
29 test.libs << 'lib' << 'test'
30 test.pattern = 'test/**/*_test.rb'
31 test.verbose = true
32 end
33
34 task :test => :check_dependencies
35 task :default => :test
Something went wrong with that request. Please try again.