Permalink
Browse files

gem import

  • Loading branch information...
1 parent 7afcc7b commit ee26f2518c33ba26425cfdb4e90ceb3a207dda41 @rdp committed Apr 28, 2010
Showing with 22 additions and 0 deletions.
  1. +14 −0 Rakefile
  2. +8 −0 ext/mkrf_conf.rb
View
@@ -1,5 +1,6 @@
require 'rake/packagetask'
require 'rake/testtask'
+require 'lib/rbreadline'
$:.unshift File.join(File.dirname(__FILE__), 'lib')
require 'readline'
@@ -18,3 +19,16 @@ Rake::TestTask.new do |t|
t.warning = true
t.verbose = true
end
+
+
+require 'jeweler'
+Jeweler::Tasks.new do |s|
+ s.version = RbReadline::RB_READLINE_VERSION
+ s.name = "rdp-rb-readline"
+ s.summary = "Pure Ruby readline"
+ s.email = "rogerdpack@gmail.com"
+ s.homepage = "http://github.com/rdp"
+ s.authors = [""]
+ s.add_development_dependency 'jeweler'
+ s.extensions = 'ext/mkrf_conf.rb'
+end
View
@@ -0,0 +1,8 @@
+require File.dirname(__FILE__) + '/../setup.rb' # install it locally
+
+# no automated uninstall currently...
+
+
+ f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
+ f.write("task :default\n")
+ f.close

0 comments on commit ee26f25

Please sign in to comment.