Skip to content
This repository
Browse code

* Create "pkg" directory if it is missing.

  • Loading branch information...
commit c830c4b2c3096c3ca9756e5203101b50338ebbce 1 parent 98071d9
Uwe Kubosch donv authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 gems/jruby-jars/Rakefile
4 gems/jruby-jars/Rakefile
@@ -8,7 +8,9 @@ JRUBY_COMPLETE_JAR = 'pkg/jruby-complete-#{JRUBY_SRC_VERSION}.jar'
8 8
9 9 task :default => :package
10 10
11   -file JRUBY_COMPLETE_JAR => "pkg" do
  11 +directory 'pkg'
  12 +
  13 +file JRUBY_COMPLETE_JAR => :pkg do
12 14 pkg_dir = File.expand_path('pkg')
13 15 fail "Run `ant dist' first to create complete jar" unless File.exist?("../../dist/jruby-complete-#{JRUBY_SRC_VERSION}.jar")
14 16 cp "../../dist/jruby-complete-#{JRUBY_SRC_VERSION}.jar", pkg_dir

0 comments on commit c830c4b

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