From 490b37178dc413e8a3280dd2619be51d9280ce52 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 10 Apr 2015 17:46:22 -0400 Subject: install related, qi (quick install) & rake --- qi | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'qi') diff --git a/qi b/qi index 3165a814..ef67bbf6 100755 --- a/qi +++ b/qi @@ -50,7 +50,8 @@ module SiSUconf :man => :boolean, :vim => :boolean, :alt => :boolean, - :dryrun => :boolean + :dryrun => :boolean, + :is => :boolean def setup unless options.length >= 1 \ and not (options[:bin] \ @@ -63,6 +64,10 @@ module SiSUconf puts 'setup --all --bin --lib --conf --data --share --man --vim' end act=(options[:dryrun]) ? (:dryrun) : (:action) + if options[:is] + puts Version_info.version_number_info_stable + puts Version_info.version_number_info_unstable + end if not options[:alt] if options[:all] \ or options[:bin] @@ -185,9 +190,13 @@ module SiSUconf :unstable => :boolean, :create => :boolean, :build => :boolean, - :install => :boolean + :install => :boolean, + :is => :boolean def gem if options[:unstable] + if options[:is] + puts Version_info.version_number_info_unstable + end if options[:create] Gemspecs::Current.create_unstable #Gemspecs::Next.create_unstable @@ -209,6 +218,9 @@ module SiSUconf end if options[:stable] \ or not options[:unstable] + if options[:is] + puts Version_info.version_number_info_stable + end if options[:create] Gemspecs::Current.create_stable #Gemspecs::Current.create_unstable @@ -239,8 +251,13 @@ module SiSUconf options \ :open_version=> :boolean, :version_and_tag_for_release=> :boolean, - :tip => :boolean + :tip => :boolean, + :is => :boolean def pkg + if options[:is] + puts Version_info.version_number_info_stable + puts Version_info.version_number_info_unstable + end if options[:tip] Package.sequence end -- cgit v1.2.3