Rakefile in marc4j4r-1.1.0 vs Rakefile in marc4j4r-1.2.0
- old
+ new
@@ -1,8 +1,8 @@
require 'rubygems'
require 'rake'
-require 'ftools'
+# require 'ftools'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "marc4j4r"
@@ -12,10 +12,12 @@
gem.homepage = "http://github.com/billdueber/javamarc/tree/master/ruby/marc4j4r/"
gem.authors = ["BillDueber"]
gem.add_development_dependency "bacon", ">= 0"
gem.add_development_dependency "yard", ">= 0"
+ gem.files.include 'jars/*.jar'
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
@@ -23,9 +25,10 @@
# Make sure we've got the right .jar
LOCALJAR = 'jars/javamarc.jar'
JAVAJAR = '../../javamarc.jar'
+
file LOCALJAR => JAVAJAR do |t|
File.copy(JAVAJAR, LOCALJAR)
end