about summary refs log tree commit homepage
path: root/dtas.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'dtas.gemspec')
-rw-r--r--dtas.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/dtas.gemspec b/dtas.gemspec
index e94a927..df93c6c 100644
--- a/dtas.gemspec
+++ b/dtas.gemspec
@@ -1,13 +1,15 @@
 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 Gem::Specification.new do |s|
+  manifest = File.read('.gem-manifest').split(/\n/)
   s.name = %q{dtas}
   s.version = ENV["VERSION"]
   s.authors = ["dtas hackers"]
   s.summary = "duct tape audio suite for *nix"
   s.description = File.read("README").split(/\n\n/)[1].strip
   s.email = %q{e@80x24.org}
-  s.files = File.read('.gem-manifest').split(/\n/)
+  s.executables = manifest.grep(%r{\Abin/}).map { |s| s.sub(%r{\Abin/}, "") }
+  s.files = manifest
   s.homepage = 'http://dtas.80x24.org/'
   s.licenses = "GPLv3+"
 end