Permalink
Browse files

Created gem

git-svn-id: http://rtags.rubyforge.org/svn@5 63c4e4d7-b515-0410-a698-96a6ba135bec
  • Loading branch information...
1 parent 6711af3 commit 0a5eb19a1c0c78c122f8fa81716724aefe5ae174 pjotr committed Aug 5, 2006
Showing with 50 additions and 3 deletions.
  1. +1 −2 TODO
  2. +1 −0 bin/VERSION
  3. 0 bin/{rtags.rb → rtags}
  4. +1 −1 install.sh
  5. +5 −0 scripts/release.sh
  6. +37 −0 scripts/rtags.gemspec
  7. +5 −0 test/runner.rb
View
3 TODO
@@ -1,3 +1,2 @@
-
-- Provide gem support
- Create unit tests
+- Provide more command line switches
View
@@ -0,0 +1 @@
+0.91
File renamed without changes.
View
@@ -77,7 +77,7 @@ function fail()
make="env LD_RUN_PATH=${libdir} LD_LIBRARY_PATH=${libdir} make"
ruby=`which ruby`
irb=`which irb`
- rtags='./bin/rtags.rb'
+ rtags='./bin/rtags'
#
# Test dependencies
#
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ ! -d test ]; then echo "Run from base directory!" ; exit ; fi
+
+ruby ./scripts/rtags.gemspec
View
@@ -0,0 +1,37 @@
+require 'rubygems'
+
+spec = Gem::Specification.new do |s|
+ s.name = 'rtags'
+ s.version = "0.91"
+ s.platform = Gem::Platform::RUBY
+ s.summary = "rtags is a Ruby replacement for ctags - allowing for name navigation in source code using vim, emacs and others"
+ s.description = "This is the original commit of the rtags source code as written by Keiju ISHITSUKA as part of the irb project. Now irb has moved into the main Ruby source tree rtags has become an independent project"
+
+ # update VERSION
+ `echo #{s.version} > bin/VERSION`
+
+ # libraries
+ s.files = Dir.glob(File.dirname(__FILE__) + "/../lib/*")
+
+ # tests
+ s.files = s.files + Dir.glob(File.dirname(__FILE__) + "/../test/*")
+ s.test_file = File.dirname(__FILE__) + '/../test/runner.rb'
+
+ # binaries
+ s.files = s.files + Dir.glob(File.dirname(__FILE__) + "/../bin/*")
+ s.bindir = 'bin'
+ s.executables << 'rtags'
+
+ s.required_ruby_version = '>= 1.8.1'
+ s.autorequire = ''
+ s.author = "Pjotr Prins, Keiju Ishitsuka"
+ s.email = "pjotr.public02@thebird.nl"
+ s.rubyforge_project = "rtags"
+ s.homepage = "http://rtags.rubyforge.org"
+ s.has_rdoc = false
+end
+
+if $0==__FILE__
+ Gem.manage_gems
+ Gem::Builder.new(spec).build
+end
View
@@ -0,0 +1,5 @@
+#!/usr/bin/ruby
+#
+
+require 'test/unit'
+

0 comments on commit 0a5eb19

Please sign in to comment.