Skip to content

Commit

Permalink
[Bugfix] Add bindir and optimize files in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
saitjr committed Oct 17, 2018
1 parent 0608cb9 commit 781fdc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fabricio.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ Gem::Specification.new do |spec|
spec.summary = "A simple gem that fetches mobile application statistics from Fabric.io API."
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
# spec.files = `git ls-files -z`.split("\x0").reject do |f|
# f.match(%r{^(test|spec|features)/})
# end
spec.files = Dir["lib/**/*", "bin/*", "docs/*", "README.md"]

spec.bindir = "bin"
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

Expand Down
2 changes: 2 additions & 0 deletions lib/fabricio/cli/organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ def all
end
end



end
end

0 comments on commit 781fdc0

Please sign in to comment.