aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-01-09 11:22:26 -0500
committerRalph Amissah <ralph@amissah.com>2015-01-19 23:46:16 -0500
commit28097d451a253f00ff6f346cc1bf7b0bbde15b7a (patch)
treec6a75ad96bc8bbb8987c91a7a9ce08aefd5fd39a /qi
parentd: utils_response, rely on module (remove class) extend module (diff)
sisu po4a ruby thor Rakefile equivalent (& cosmetic edit to qi)
Diffstat (limited to 'qi')
-rwxr-xr-xqi96
1 files changed, 69 insertions, 27 deletions
diff --git a/qi b/qi
index 2d8d878b..3165a814 100755
--- a/qi
+++ b/qi
@@ -67,69 +67,109 @@ module SiSUconf
if options[:all] \
or options[:bin]
exclude_files=['sisugem']
- Install.setup_find_create('bin',Project_details.dir.bin,exclude_files,act) \
- if File.directory?('bin')
+ Install.setup_find_create(
+ 'bin',
+ Project_details.dir.bin,
+ exclude_files,
+ act
+ ) if File.directory?('bin')
end
if options[:all] \
or options[:lib]
- Install.setup_find_create('lib',Project_details.dir.lib,act) \
- if File.directory?('lib')
+ Install.setup_find_create(
+ 'lib',
+ Project_details.dir.lib,
+ act
+ ) if File.directory?('lib')
end
if options[:all] \
or options[:conf]
- Install.setup_find_create('conf',Project_details.dir.conf,act) \
- if File.directory?('conf')
+ Install.setup_find_create(
+ 'conf',
+ Project_details.dir.conf,
+ act
+ ) if File.directory?('conf')
end
if options[:all] \
or options[:data]
- Install.setup_find_create('data',Project_details.dir.data,act) \
- if File.directory?('data')
+ Install.setup_find_create(
+ 'data',
+ Project_details.dir.data,
+ act
+ ) if File.directory?('data')
end
if options[:all] \
or options[:share]
- Install.setup_find_create('data/sisu',Project_details.dir.share,act) \
- if File.directory?('data/sisu')
+ Install.setup_find_create(
+ 'data/sisu',
+ Project_details.dir.share,
+ act
+ ) if File.directory?('data/sisu')
end
if options[:all] \
or options[:man]
- Install.setup_find_create('man',Project_details.dir.man,act) \
- if File.directory?('man')
+ Install.setup_find_create(
+ 'man',
+ Project_details.dir.man,
+ act
+ ) if File.directory?('man')
end
if options[:all] \
or options[:vim]
- Install.setup_find_create('data/vim',Project_details.dir.vim,act) \
- if File.directory?('data/vim')
+ Install.setup_find_create(
+ 'data/vim',
+ Project_details.dir.vim,
+ act
+ ) if File.directory?('data/vim')
end
else
if options[:all] \
or options[:bin]
- Install.setup_find_cp_r('bin',Project_details.dir.bin,act) \
- if File.directory?('bin')
+ Install.setup_find_cp_r(
+ 'bin',
+ Project_details.dir.bin,
+ act
+ ) if File.directory?('bin')
end
if options[:all] \
or options[:bin]
- Install.setup_find_cp_r('lib',Project_details.dir.lib,act) \
- if File.directory?('lib')
+ Install.setup_find_cp_r(
+ 'lib',
+ Project_details.dir.lib,
+ act
+ ) if File.directory?('lib')
end
if options[:all] \
or options[:conf]
- Install.setup_find_cp_r('conf',Project_details.dir.conf,act) \
- if File.directory?('conf')
+ Install.setup_find_cp_r(
+ 'conf',
+ Project_details.dir.conf,
+ act
+ ) if File.directory?('conf')
end
if options[:all] \
or options[:data]
- Install.setup_find_cp_r('data',Project_details.dir.data,act) \
- if File.directory?('data')
+ Install.setup_find_cp_r(
+ 'data',
+ Project_details.dir.data,
+ act
+ ) if File.directory?('data')
end
if options[:all] \
or options[:share]
- Install.setup_find_cp_r('data/sisu',Project_details.dir.share,act) \
- if File.directory?('data/sisu') #
+ Install.setup_find_cp_r(
+ 'data/sisu',
+ Project_details.dir.share,
+ act
+ ) if File.directory?('data/sisu') #
end
if options[:all] \
or options[:man]
- Install.setup_find_cp_r('man',Project_details.dir.man,act) \
- if File.directory?('man')
+ Install.setup_find_cp_r(
+ 'man',
+ Project_details.dir.man,
+ act
+ ) if File.directory?('man')
end
#if options[:all] \
#or options[:vim]
@@ -193,7 +233,9 @@ module SiSUconf
end
end
desc 'pkg',
- 'package maintenance tasks, of no general interest (maintainer specific for package maintainer\'s convenience)'
+ 'package maintenance tasks, ' \
+ + 'of no general interest ' \
+ + '(maintainer specific for package maintainer\'s convenience)'
options \
:open_version=> :boolean,
:version_and_tag_for_release=> :boolean,