-
Notifications
You must be signed in to change notification settings - Fork 6
/
zopfli.gemspec
29 lines (25 loc) · 1.01 KB
/
zopfli.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
28
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'zopfli/version'
Gem::Specification.new do |spec|
spec.name = "zopfli"
spec.version = Zopfli::VERSION
spec.authors = ["miyucy"]
spec.email = ["[email protected]"]
spec.description = "zopfli"
spec.summary = "zopfli"
spec.homepage = "http://github.com/miyucy/zopfli"
spec.license = "MIT"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
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/zopfli']
spec.files += Dir['vendor/zopfli/src/zopfli/**/*']
spec.files += ['vendor/zopfli/COPYING']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ["ext/extconf.rb"]
end