mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
Put jar file explicitly in the gemspec so that gem will not build without it.
This commit is contained in:
@@ -14,7 +14,7 @@ else
|
||||
end
|
||||
|
||||
task :clean do
|
||||
Dir['./**/*.{bundle,o,so}'].each do |path|
|
||||
Dir['./**/*.{bundle,jar,o,so}'].each do |path|
|
||||
puts "Deleting #{path} ..."
|
||||
File.delete(path)
|
||||
end
|
||||
|
||||
@@ -11,8 +11,9 @@ Gem::Specification.new do |s|
|
||||
s.require_paths = %w[lib]
|
||||
|
||||
s.files = %w[README.rdoc CHANGELOG.txt] +
|
||||
Dir.glob("ext/**/*.{c,rb}") +
|
||||
Dir.glob("lib/**/*.{jar,rb}") +
|
||||
Dir.glob("ext/**/*.{c,java,rb}") +
|
||||
Dir.glob("lib/**/*.rb") +
|
||||
["lib/faye_websocket_mask.jar"] +
|
||||
Dir.glob("{examples,spec}/**/*")
|
||||
|
||||
s.extensions << "ext/faye_websocket_mask/extconf.rb"
|
||||
|
||||
Reference in New Issue
Block a user