Skip to content
This repository
Browse code

making sure nokogiri jar is in the packaged gem. THANKS ERIC!!

  • Loading branch information...
commit 449619dae1f70ff20cd0e0b430a396bf438d4068 1 parent 3c11e29
Aaron Patterson authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  Rakefile
8  Rakefile
@@ -76,10 +76,10 @@ if java
76 76
     ext.ext_dir = 'ext/java'
77 77
     ext.classpath = CLASSPATH
78 78
   end
79  
-  path = "pkg/#{HOE.spec.full_name}"
80  
-  directory path do
81  
-    puts "fuck"
82  
-    exit!
  79
+  path = "pkg/#{HOE.spec.name}-#{HOE.spec.version}"
  80
+  task path => :compile do
  81
+    cp 'lib/nokogiri/nokogiri.jar', File.join(path, 'lib')
  82
+    HOE.spec.files += ['lib/nokogiri/nokogiri.jar']
83 83
   end
84 84
 else
85 85
   require "rake/extensiontask"

0 notes on commit 449619d

Please sign in to comment.
Something went wrong with that request. Please try again.