Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 984 Bytes
require 'rake'
require 'rake/testtask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test RubyCloud'
task :test do
files = Dir['spec/**/*_spec.rb'].join(" ")
system("bacon #{files}")
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "whiskey_disk"
gemspec.summary = "embarrassingly fast deployments."
gemspec.description = "Opinionated gem for doing fast git-based server deployments."
gemspec.email = "rick@rickbradley.com"
gemspec.homepage = "http://github.com/flogic/whiskey_disk"
gemspec.authors = ["Rick Bradley"]
gemspec.add_dependency('rake')
# I've decided that the integration spec shizzle shouldn't go into the gem
gemspec.files.exclude 'scenarios', 'spec/integration'
gemspec.test_files.exclude 'scenarios', 'spec/integration'
end
Jeweler::GemcutterTasks.new
rescue LoadError
# if you get here, you need Jeweler installed to do packaging and gem installation, yo.
end