Commit a3c0e40

mo <mo.khan@gmail.com>
2018-02-11 18:50:21
move exes
1 parent 4c3fc39
Changed files (2)
bin/tfa → exe/tfa
File renamed without changes
tfa.gemspec
@@ -13,8 +13,11 @@ Gem::Specification.new do |spec|
   spec.homepage      = "https://github.com/mokhan/tfa/"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z`.split("\x0")
-  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
+    f.match(%r{^(test|spec|features)/})
+  end
+  spec.bindir        = "exe"
+  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]
   spec.required_ruby_version = "~> 2.0"