-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbrotli.gemspec
27 lines (24 loc) · 1.01 KB
/
brotli.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "brotli/version"
Gem::Specification.new do |spec|
spec.name = "brotli"
spec.version = Brotli::VERSION
spec.authors = ["miyucy"]
spec.email = ["[email protected]"]
spec.summary = "Brotli compressor/decompressor"
spec.description = "Brotli compressor/decompressor"
spec.homepage = "https://github.com/miyucy/brotli"
spec.license = "MIT"
spec.test_files = `git ls-files -z -- test`.split("\x0")
spec.files = `git ls-files -z`.split("\x0")
spec.files -= spec.test_files
spec.files -= ["vendor/brotli"]
spec.files += Dir["vendor/brotli/c/{common,enc,dec,include}/**/*"]
spec.files += ["vendor/brotli/LICENSE"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ["ext/brotli/extconf.rb"]
end