Module: Packer::Binary
- Defined in:
- lib/packer/binary.rb,
lib/packer/binary/command.rb,
lib/packer/binary/helpers.rb,
lib/packer/binary/version.rb,
lib/packer/binary/compressor.rb,
lib/packer/binary/executable.rb
Defined Under Namespace
Modules: Command, Helpers
Classes: Compressor, Configuration, Executable
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.Build(opts = '') ⇒ Object
23
24
25
|
# File 'lib/packer/binary.rb', line 23
def Build(opts = '')
Command.run("build #{opts}")
end
|
.config ⇒ Object
15
16
17
|
# File 'lib/packer/binary.rb', line 15
def config
@config ||= Configuration.new
end
|
19
20
21
|
# File 'lib/packer/binary.rb', line 19
def configure
yield(config)
end
|
.Fix(opts = '') ⇒ Object
27
28
29
|
# File 'lib/packer/binary.rb', line 27
def Fix(opts = '')
Command.run("fix #{opts}")
end
|
.Inspect(opts = '') ⇒ Object
31
32
33
|
# File 'lib/packer/binary.rb', line 31
def Inspect(opts = '')
Command.run("inspect #{opts}")
end
|
.Push(opts = '') ⇒ Object
35
36
37
|
# File 'lib/packer/binary.rb', line 35
def Push(opts = '')
Command.run("push #{opts}")
end
|
.Validate(opts = '') ⇒ Object
39
40
41
|
# File 'lib/packer/binary.rb', line 39
def Validate(opts = '')
Command.run("validate #{opts}")
end
|
.Version(opts = '') ⇒ Object
43
44
45
|
# File 'lib/packer/binary.rb', line 43
def Version(opts = '')
Command.run("version #{opts}")
end
|