修訂 | 2b6ab1567646ae017b95739365c0e46e439140b1 (tree) |
---|---|
時間 | 2016-03-12 06:27:54 |
作者 | Tatsuki Sugiura <sugi@nemu...> |
Commiter | Tatsuki Sugiura |
Fix file list, again.
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec| | ||
14 | 14 | spec.description = %q{Non-intaractive manipulation tool for OSDN} |
15 | 15 | spec.homepage = "https://osdn.jp/projects/osdn-codes/wiki/CommandLineInterface" |
16 | 16 | |
17 | - files = (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).map(&:to_s) | |
17 | + files = (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).reject{|f| f.directory? }.map(&:to_s) | |
18 | 18 | spec.files = files.reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(%r{(~|\.bak|\.orig|\.rej)$}) } |
19 | 19 | spec.bindir = "exe" |
20 | 20 | spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } |