OSDN Git Service

Fix file list, again. v0.0.1
authorTatsuki Sugiura <sugi@nemui.org>
Fri, 11 Mar 2016 21:27:54 +0000 (06:27 +0900)
committerTatsuki Sugiura <sugi@nemui.org>
Fri, 11 Mar 2016 21:27:54 +0000 (06:27 +0900)
osdn-cli.gemspec

index 8aad78b..d9d2873 100644 (file)
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
   spec.description   = %q{Non-intaractive manipulation tool for OSDN}
   spec.homepage      = "https://osdn.jp/projects/osdn-codes/wiki/CommandLineInterface"
 
-  files = (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).map(&:to_s)
+  files = (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).reject{|f| f.directory? }.map(&:to_s)
   spec.files         = files.reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(%r{(~|\.bak|\.orig|\.rej)$}) }
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }