Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rebuild classpath when Gemfile.lock is missing and Jarfile.lock exists

  • Loading branch information...
commit 0fbb3a1b99de685ebc3b504d256f802e12fffbf4 1 parent c64981e
@mkristian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jbundler/classpath_file.rb
View
2  lib/jbundler/classpath_file.rb
@@ -19,7 +19,7 @@ def exists?
end
def needs_update?(jarfile, gemfile_lock)
- (jarfile.exists? || gemfile_lock.exists?) && (!exists? || !jarfile.exists_lock? || (jarfile.exists? && (jarfile.mtime > mtime)) || (jarfile.exists_lock? && (jarfile.mtime_lock > mtime)) || (gemfile_lock.exists? && (gemfile_lock.mtime > mtime)))
+ (jarfile.exists? || gemfile_lock.exists? || jarfile.exists_lock?) && (!exists? || !jarfile.exists_lock? || (jarfile.exists? && (jarfile.mtime > mtime)) || (jarfile.exists_lock? && (jarfile.mtime_lock > mtime)) || (gemfile_lock.exists? && (gemfile_lock.mtime > mtime)))
end
def generate(classpath_array)
Please sign in to comment.
Something went wrong with that request. Please try again.