6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# File 'lib/gemcmddlgs.rb', line 6
def makeArgs
args = []
options = Settings.instance
if options.installRdocFlag then
args.push( '--rdoc' )
else
args.push( '--no-rdoc' )
end
if options.installRiFlag then
args.push( '--ri' )
else
args.push( '--no-ri' )
end
if options.installSheBangFlag then
args.push( '--env-shebang' )
else
args.push( '--no-env-shebang' )
end
if options.installUnitTestFlag then
args.push( '--test' )
else
args.push( '--no-test' )
end
if options.installBinWrapFlag then
args.push( '--wrappers' )
else
args.push( '--no-wrappers' )
end
if options.installIgnoreDepsFlag then
args.push( '--ignore-dependencies' )
end
if options.installIncludeDepsFlag then
args.push( '--include-dependencies' )
end
if options.installDevelopmentDepsFlag then
args.push( '--development' )
end
if options.installformatExecutableFlag then
args.push( '--format-executable' )
end
args.push( '-P' )
args.push( options.installTrustPolicyStr )
args
end
|