mirror of https://github.com/reiseburo/hermann
Properly include hermann_jars.rb in the built gem but exclude from the tree
This commit is contained in:
parent
ecae27dd65
commit
9d5b773542
|
@ -13,3 +13,4 @@ tmp/
|
|||
Gemfile.lock
|
||||
Jarfile.lock
|
||||
.jbundler/
|
||||
lib/hermann_jars.rb
|
||||
|
|
|
@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|||
s.homepage = 'https://github.com/lookout/Hermann'
|
||||
s.licenses = ['MIT']
|
||||
|
||||
s.files = [ "Rakefile"]
|
||||
s.files = ['Rakefile']
|
||||
s.files += `git ls-files -- lib`.split($\)
|
||||
s.files += `git ls-files -- ext`.split($\)
|
||||
|
||||
|
@ -28,6 +28,7 @@ Gem::Specification.new do |s|
|
|||
s.add_dependency 'thread_safe', '~> 0.3.4'
|
||||
|
||||
if RUBY_PLATFORM == "java"
|
||||
s.files << 'lib/hermann_jars.rb'
|
||||
s.add_dependency 'concurrent-ruby', '~> 0.7.0'
|
||||
|
||||
# IMPORTANT: make sure that jar-dependencies is only a development
|
||||
|
|
Loading…
Reference in New Issue