public
Description: RSpec support for Waves
Homepage:
Clone URL: git://github.com/psq/waves_rspec.git
automatthew (author)
Thu Mar 20 09:53:56 -0700 2008
commit  b4496c655aea8688d8b92653ffd0ffdc48078e6c
tree    9ea7289e4c0833091bd463c6864cefac04111d8a
parent  85b60042fb987347d8f175ee61f4763e0758138f
waves_rspec / Rakefile
100644 26 lines (22 sloc) 0.809 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
# -*- ruby -*-
 
require 'rubygems'
require 'hoe'
require './lib/waves-rspec.rb'
 
Hoe.new('waves-rspec', WavesRspec::VERSION::STRING) do |p|
  p.rubyforge_name = 'waves-rspec'
  p.author = 'Pascal Belloncle (nano RAILS)'
  p.email = 'psq@nanorails.com'
  # p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
  # p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
  # p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end
 
# vim: syntax=Ruby
 
desc "Install to gems dir of waves_app=/path/to/app"
task :install_local => :gem do
  require 'rubygems/installer'
  app_gems_path = File.join(ENV['waves_app'], 'gems')
  Dir['pkg/*.gem'].each do |gem|
    puts "Installing #{gem} to #{app_gems_path}"
    Gem::Installer.new(gem, :install_dir => app_gems_path).install
  end
end