-
Notifications
You must be signed in to change notification settings - Fork 1
/
openrareplay.gemspec
executable file
·46 lines (39 loc) · 1.83 KB
/
openrareplay.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env ruby
# OpenRA Replay Sanitizer: Program/library to parse and generate
# OpenRA replay files
#
# Copyright (C) 2018 Luke Spangler
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'openrareplay/version'
Gem::Specification.new do |spec|
spec.name = 'openrareplay'
spec.version = OpenRAReplay::VERSION
spec.authors = ['Luke Spangler']
spec.email = ['[email protected]']
spec.summary = 'Program/library to parse and generate OpenRA
replays without identifying information'
spec.homepage = 'https://github.com/spanglel/OpenRAReplay-Sanitizer'
spec.license = 'AGPL-3.0'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake', '~> 10.0'
end