summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-10 05:25:43 -0800
committerLucas Nussbaum <lucas@lucas-nussbaum.net>2011-02-18 17:14:02 +0100
commit5ff5b6d733136936af1789793e66d84df15731d5 (patch)
tree7513910509abd95e3bc3bd298be0399e6051ea4f
parent9dad69d19da7a7196ae7358e89d528999a6cea28 (diff)
downloadfeed2imap-5ff5b6d733136936af1789793e66d84df15731d5.tar.gz
feed2imap-5ff5b6d733136936af1789793e66d84df15731d5.tar.bz2
feed2imap-5ff5b6d733136936af1789793e66d84df15731d5.zip
gem: include executable wrappers in bin/*
The RubyGems installation of feed2imap did not install the RubyGems bin/* wrappers in the user's normal $PATH
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index a6a9b42..493792c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -50,6 +50,9 @@ begin
s.version = PKG_VERSION
s.requirements << 'feedparser'
s.require_path = 'lib'
+ s.executables = PKG_FILES.grep(%r{\Abin\/.}).map { |bin|
+ bin.gsub(%r{\Abin/}, '')
+ }
s.files = PKG_FILES
s.description = "RSS/Atom feed aggregator"
end