Adapt Rakefile for Walrat
authorWincent Colaiuta <win@wincent.com>
Sat, 21 Aug 2010 08:52:48 +0000 (10:52 +0200)
committerWincent Colaiuta <win@wincent.com>
Sat, 21 Aug 2010 11:04:48 +0000 (13:04 +0200)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Rakefile

index 778a7e48c9d14ef8b36acf6ee111660aa55e0e3b..967a5fa43b611a5fe3d2de169e227d428ba7dba4 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -24,7 +24,7 @@ require 'rake'
 require 'rubygems'
 require 'spec/rake/spectask'
 require 'spec/rake/verify_rcov'
-require File.expand_path('lib/walrus/version', File.dirname(__FILE__))
+require File.expand_path('lib/walrat/version', File.dirname(__FILE__))
 
 desc 'Run specs with coverage'
 Spec::Rake::SpecTask.new('coverage') do |t|
@@ -52,14 +52,13 @@ Spec::Rake::SpecTask.new('specdoc') do |t|
 end
 
 BUILT_GEM_DEPENDENCIES = Dir[
-  'walrus.gemspec',
-  'bin/walrus',
+  'walrat.gemspec',
   'lib/**/*.rb'
 ]
 
-BUILT_GEM = "walrus-#{Walrus::VERSION}.gem"
+BUILT_GEM = "walrat-#{Walrat::VERSION}.gem"
 file BUILT_GEM => BUILT_GEM_DEPENDENCIES do
-  sh 'gem build walrus.gemspec'
+  sh 'gem build walrat.gemspec'
 end
 
 desc 'Build gem ("gem build")'