aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-05-15 00:24:10 -0400
committerRalph Amissah <ralph@amissah.com>2015-05-15 00:24:10 -0400
commit0ca455e2ceb3e72e481973f93278687b2b7b3c5c (patch)
treec226b806baec0b39a8b3b4531016478270e3a5e4 /qi
parentdebian/changelog (7.0.0-1) (diff)
parentversion & changelog, tag for release (diff)
Merge tag 'sisu_7.1.0' into debian/sid
SiSU 7.1.0
Diffstat (limited to 'qi')
-rwxr-xr-xqi70
1 files changed, 35 insertions, 35 deletions
diff --git a/qi b/qi
index 33cd8e59..b2956876 100755
--- a/qi
+++ b/qi
@@ -7,7 +7,7 @@
<http://search.sisudoc.org>
** Download: <http://www.jus.uio.no/sisu/download>
-** Copyright: (C) 2007 - 2015 Ralph Amissah
+** Copyright: (C) 2015 Ralph Amissah
** License:
@@ -182,40 +182,6 @@ module SiSUconf
#end
end
end
- desc 'gem --create --build --install',
- 'gem create build and install'
- options \
- :create => :boolean,
- :build => :boolean,
- :install => :boolean,
- :git_version_number => :boolean,
- :is => :boolean
- def gem
- if options[:is]
- puts Version_info.version_number_info_stable
- end
- if options[:create]
- version=(options[:git_version_number]) \
- ? :version_git
- : :version_standard
- Gemspecs::Current.create_stable(version)
- puts 'created gemspec' \
- if options[:verbose]
- end
- if options[:build]
- Gemspecs::Current.build_stable
- puts 'built gem' \
- if options[:verbose]
- end
- if options[:install]
- Gemspecs::Current.install_stable
- puts 'installed gem, version: stable' \
- if options[:verbose]
- end
- unless options.length > 0
- system("#{$called_as} help gem")
- end
- end
desc 'pkg',
'package maintenance tasks, ' \
+ 'of no general interest ' \
@@ -251,6 +217,40 @@ module SiSUconf
system("#{$called_as} pkg --tip")
end
end
+ desc 'gem --create --build --install',
+ 'gem create build and install'
+ options \
+ :create => :boolean,
+ :build => :boolean,
+ :install => :boolean,
+ :git_version_number => :boolean,
+ :is => :boolean
+ def gem
+ if options[:is]
+ puts Version_info.version_number_info_stable
+ end
+ if options[:create]
+ version=(options[:git_version_number]) \
+ ? :version_git
+ : :version_standard
+ Gemspecs::Current.create_stable(version)
+ puts 'created gemspec' \
+ if options[:verbose]
+ end
+ if options[:build]
+ Gemspecs::Current.build_stable
+ puts 'built gem' \
+ if options[:verbose]
+ end
+ if options[:install]
+ Gemspecs::Current.install_stable
+ puts 'installed gem, version: stable' \
+ if options[:verbose]
+ end
+ unless options.length > 0
+ system("#{$called_as} help gem")
+ end
+ end
end
end
begin