1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/Rakefile

45 lines
1.8 KiB
Ruby
Raw Normal View History

2009-11-17 01:21:36 -05:00
require 'lib/middleman'
require 'rake'
2009-11-10 14:41:17 -05:00
require 'cucumber/rake/task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "middleman"
gem.summary = %Q{A static site generator utilizing Haml, Sass and providing YUI compression and cache busting}
gem.email = "tdreyno@gmail.com"
gem.homepage = "http://wiki.github.com/tdreyno/middleman"
gem.authors = ["Thomas Reynolds"]
gem.rubyforge_project = "middleman"
gem.executables = %w(mm-init mm-build mm-server)
gem.add_dependency("rack", "~>1.0")
gem.add_dependency("thin", "~>1.2.0")
gem.add_dependency("shotgun", "~>0.8.0")
gem.add_dependency("templater", "~>1.0.0")
gem.add_dependency("sinatra", "~>1.0")
gem.add_dependency("padrino-core", "~>0.9.0")
gem.add_dependency("padrino-helpers", "~>0.9.0")
gem.add_dependency("rack-test", "~>0.5.0")
gem.add_dependency("yui-compressor", "~>0.9.0")
gem.add_dependency("haml", "~>3.0")
gem.add_dependency("compass", "~>0.10.0")
gem.add_dependency("json_pure", "~>1.4.0")
gem.add_dependency("smusher", "~>0.4.5")
gem.add_dependency("compass-slickmap", "~>0.4.0")
# gem.add_dependency("livereload", "~>1.4.0")
2010-02-15 16:02:20 -05:00
2009-11-22 18:37:11 -05:00
gem.add_development_dependency("cucumber")
2010-02-15 16:02:20 -05:00
gem.add_development_dependency("jeweler")
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
2009-11-22 18:37:11 -05:00
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
end
task :default => :cucumber