From 58935096fcacdaa986bdc2aaae1f7688a7b7369a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 30 Sep 2013 04:03:54 +0000 Subject: dtas.gemspec: mark executables correctly RubyGems requires executables to be registered with it explicitly, placing them in bin/ is not enough... --- dtas.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dtas.gemspec') 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 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 -- cgit v1.2.3-24-ge0c7