sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 733defd3698de5ac416866499b6e7f907604dea8
parent 4f20ab55d1b6b609562a18b86bf87ce4c77c36a7
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sun, 26 Apr 2009 10:28:16 -0400

make sup-files.rb print out all files when executed

This makes it easy to do something like:
  vi `ruby ./sup-files.rb`
to edit all files.

Diffstat:
M sup-files.rb | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/sup-files.rb b/sup-files.rb
@@ -5,3 +5,7 @@ SUP_FILES =
   SUP_EXTRA_FILES +
   SUP_EXECUTABLES.map { |f| "bin/#{f}" } +
   SUP_LIB_DIRS.map { |d| Dir["#{d}/*.rb"] }.flatten
+
+if $0 == __FILE__ # if executed from commandline
+  puts SUP_FILES
+end