public
Description: a basic sinatra app layout with cucumber, rspec, and webrat
Homepage:
Clone URL: git://github.com/graemenelson/tracksuit.git
tracksuit / Rakefile
100644 30 lines (18 sloc) 0.619 kb
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
require 'rake'
require 'rake/rdoctask'
 
PROJECT_ROOT = File.expand_path( File.dirname(__FILE__) )
 
# load rake files in lib/tasks
Dir["lib/tasks/*.rake"].sort.each {|entry| load entry }
 
namespace :libraries do
  
  desc "gives the current version of all the installed libraries (if possible)"
  task :versions do
    require 'cucumber/version'
    require 'spec/version'
    require 'webrat'
    require 'sinatra'
    
    puts "Sinatra: #{Sinatra::VERSION}"
    puts "RSpec: #{Spec::VERSION::STRING}"
    puts "Cucumber: #{Cucumber::VERSION::STRING}"
    puts "Webrat: #{Webrat::VERSION}"
    
  end
  
end