]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Rakefile: package launch_here.rb too
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 15 Mar 2009 23:58:55 +0000 (00:58 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 15 Mar 2009 23:58:55 +0000 (00:58 +0100)
And clean up some Rakefile crud while we're at it

Rakefile

index 822fe7327fe1f841ca28194470f67118f382bf5b..89b5c15d20b02277d5e154a6ea9b97fc2a76e408 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -15,8 +15,24 @@ spec = Gem::Specification.new do |s|
   EOF
   s.requirements << 'Ruby, version 1.8.0 (or newer)'
 
-  #  s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
-  s.files = FileList['lib/**/*.rb', 'bin/*', 'data/rbot/**/*', 'AUTHORS', 'COPYING', 'README', 'REQUIREMENTS', 'TODO', 'ChangeLog', 'INSTALL',  'Usage_en.txt', 'setup.rb', 'po/*.pot', 'po/**/*.po'].to_a.delete_if {|item| item == ".svn"}
+  s.files = FileList[
+         'lib/**/*.rb',
+         'bin/*',
+         'data/rbot/**/*',
+         'AUTHORS',
+         'COPYING',
+         'README',
+         'REQUIREMENTS',
+         'TODO',
+         'ChangeLog',
+         'INSTALL',
+         'Usage_en.txt',
+         'setup.rb',
+         'launch_here.rb',
+         'po/*.pot',
+         'po/**/*.po'
+  ]
+
   s.bindir = 'bin'
   s.executables = ['rbot', 'rbot-remote']
   s.default_executable = 'rbot'