From fffd003c15a97f08663894fb6e82464400bf2279 Mon Sep 17 00:00:00 2001 From: Daniel Vinciguerra Date: Thu, 22 Aug 2024 20:08:04 -0300 Subject: [PATCH] chore: some fix at gemspec file --- importmap-cli.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/importmap-cli.gemspec b/importmap-cli.gemspec index 041ccb3..42cd83e 100644 --- a/importmap-cli.gemspec +++ b/importmap-cli.gemspec @@ -22,11 +22,11 @@ Gem::Specification.new do |spec| # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| - (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) + (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.bindir = 'bin' + spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] # Uncomment to register a new dependency of your gem