aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-04-10 17:46:22 -0400
committerRalph Amissah <ralph@amissah.com>2015-04-13 16:39:36 -0400
commit490b37178dc413e8a3280dd2619be51d9280ce52 (patch)
tree457fb06e4be912a4e9c35a02bcb15d91e710fc15 /qi
parentqi (quick install) fix (diff)
install related, qi (quick install) & rake
Diffstat (limited to 'qi')
-rwxr-xr-xqi23
1 files changed, 20 insertions, 3 deletions
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