diff options
Diffstat (limited to 'qi')
-rwxr-xr-x | qi | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -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 |