Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (25 sloc) 652 Bytes
require "rubygems"
require "spec/rake/spectask"
require "config"
file_list = Dir["spec/*_spec.rb"]
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = file_list
end
desc 'Default: run specs'
task :default => 'spec'
#namespace :db do
# desc "AutoMigrate the db"
# task :migrate do
# DataMapper.auto_migrate!
# end
#end
namespace :sinatra do
desc "Updates or downloads the latest Sinatra build"
task :edge do
if !File.exists?(File.join(File.dirname(__FILE__), "vendor", "sinatra"))
system "git clone git://github.com/bmizerany/sinatra.git vendor/sinatra"
else
system "cd vendor/sinatra;git pull"
end
end
end
Something went wrong with that request. Please try again.