aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup/rbuild_help.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-08-29 21:05:12 -0400
committerRalph Amissah <ralph@amissah.com>2014-08-29 21:05:12 -0400
commitaed8d0f1cae7debfb4b9e1858b56d18abbfc7bf5 (patch)
tree0296346dfc87f91371ed086e42231fad226ec455 /setup/rbuild_help.rb
parentdebian/changelog (5.6.2-1) (diff)
parentv5 v6: dp, texpdf, copyright_and_license, minor fix, used by texpdf (diff)
Merge tag 'sisu_5.6.3' into debian/sid
SiSU 5.6.3
Diffstat (limited to 'setup/rbuild_help.rb')
-rw-r--r--setup/rbuild_help.rb36
1 files changed, 36 insertions, 0 deletions
diff --git a/setup/rbuild_help.rb b/setup/rbuild_help.rb
new file mode 100644
index 00000000..fc56c2fa
--- /dev/null
+++ b/setup/rbuild_help.rb
@@ -0,0 +1,36 @@
+module Help
+ def self.project_help
+ puts <<WOK
+
+#{Project_details.name}
+ #{Project_details.rake_rant}
+ #{Project_details.platform_notice}
+
+Commands quick start list
+ #{Project_details.name} Rake/Rant Help: (Rakefile or Rantfile)
+ rake (rake -T or rant -T) # a task list, (generated by Rake or Rant) for more complete and up to date help
+
+ Quick start install and remove project #{Project_details.name}, as root:
+ rake setup # install #{Project_details.name}
+ rake resetup # reinstall #{Project_details.name}
+ rake remove_package # clobber/remove #{Project_details.name}, all versions
+ alternatively to install as a gem:
+ rake gem_create_build_install # create gemspec; build gem, &; install gem, for #{Project_details.name}
+
+ NOTE: these install options DO NOT setup #{Project_details.name} dependencies for:
+ LaTeX(XeTeX) pdf output; or
+ databases (postgresql or sqlite3) for #{Project_details.name} search
+ should you wish to produce outputs that depend on them
+ (on Debian for example this is the work of the debian installer)
+
+WOK
+ end
+ def self.tasks(make='rake')
+ begin
+ system("#{make} -T")
+ rescue
+ puts 'is either rake or rant installed?'
+ end
+ end
+end
+