diff options
| author | mo <mo.khan@gmail.com> | 2018-02-11 11:50:21 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-02-11 11:50:21 -0700 |
| commit | a3c0e4084a46dcee74bbf365cf93a072c949ba80 (patch) | |
| tree | f38f8f33568bce3852fc246c68812021e3bcb788 | |
| parent | 4c3fc39c75526bc20017e44a03a17927706302c3 (diff) | |
move exes
| -rwxr-xr-x | exe/tfa (renamed from bin/tfa) | 0 | ||||
| -rw-r--r-- | tfa.gemspec | 7 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tfa.gemspec b/tfa.gemspec index fc6ef60..b8844c7 100644 --- a/tfa.gemspec +++ b/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" |
