-
Notifications
You must be signed in to change notification settings - Fork 0
/
xunit_viewer.gemspec
27 lines (22 loc) · 1.03 KB
/
xunit_viewer.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 "xunit_viewer/version"
Gem::Specification.new do |spec|
spec.name = "xunit_viewer"
spec.version = XunitViewer::VERSION
spec.licenses = ['Apache-2.0']
spec.authors = ["Ian Katz"]
spec.email = ["ianfixes@gmail.com"]
spec.summary = "HTML report renderer for XUnit/JUnit files"
spec.description = spec.description
spec.homepage = "http://github.com/ianfixes/xunit_viewer_gem"
spec.bindir = "exe"
rejection_regex = %r{^(test|spec|features)/}
libfiles = Dir['lib/**/*.*'].reject { |f| f.match(rejection_regex) }
binfiles = Dir[File.join(spec.bindir, '/**/*.*')].reject { |f| f.match(rejection_regex) }
spec.files = ['README.md', '.yardopts'] + libfiles + binfiles
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "lzutf8", "~> 0.0.1"
end