veewee-to-packer 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
data/bin/veewee-to-packer
CHANGED
@@ -8,6 +8,7 @@ $stdout.sync = true
|
|
8
8
|
$stderr.sync = true
|
9
9
|
|
10
10
|
require 'optparse'
|
11
|
+
require 'veewee-to-packer'
|
11
12
|
|
12
13
|
# Parse arguments
|
13
14
|
options = {
|
@@ -25,6 +26,11 @@ OptionParser.new do |opts|
|
|
25
26
|
opts.on("-o", "--output DIR", String, "Directory where files will be outputted.") do |output|
|
26
27
|
options[:output] = output
|
27
28
|
end
|
29
|
+
|
30
|
+
opts.on('-v', '--version', 'Show version') do
|
31
|
+
puts "veewee-to-packer #{VeeweeToPacker::VERSION}"
|
32
|
+
exit
|
33
|
+
end
|
28
34
|
end.parse!
|
29
35
|
|
30
36
|
if ARGV.length != 1
|
@@ -33,7 +39,6 @@ if ARGV.length != 1
|
|
33
39
|
end
|
34
40
|
|
35
41
|
# Do the actual conversion
|
36
|
-
require "veewee-to-packer"
|
37
42
|
begin
|
38
43
|
warnings = VeeweeToPacker.convert(ARGV[0], options[:output], options[:builders])
|
39
44
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veewee-to-packer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Converts Veewee templates to Packer templates.
|
15
15
|
email:
|