extensionator 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/extensionator +1 -1
- data/lib/extensionator/cli.rb +7 -2
- data/lib/extensionator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bf7e02a6a12e734151b7043da79f1600ab9373b
|
4
|
+
data.tar.gz: 2e8e6f6a12e16e305020d66899980218543c501c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4431d363669af1ca47e214a014a3b010f12b5c610955c5d3347177eb75b8a5cb583a39c2a92b24d7d0edfee59964a2ac0bfd398a5654198d54dbb0b7739bafd3
|
7
|
+
data.tar.gz: 42616df5374054cd5994366d231a68a06864e4312205382f2b981c66fd65a82706ed856e62557351e9232bc077a49cde49ec8dd755575772c3c2d6e7192e00ab
|
data/bin/extensionator
CHANGED
data/lib/extensionator/cli.rb
CHANGED
@@ -12,7 +12,7 @@ module Extensionator
|
|
12
12
|
o.string "-f", "--format", "Type of file to produce, either zip or crx. (Default: crx)"
|
13
13
|
o.string "--inject-version", "Inject a version number into the manifest file. (Default: none)"
|
14
14
|
o.bool "--inject-key", "Inject a key parameter into the manifest file. (Default: no)"
|
15
|
-
|
15
|
+
o.string "--skip-validation", "Don't try to validate this extension. Currently just checks that the manifest is parsable."
|
16
16
|
o.on "-v", "--version", "Extensionator version info." do
|
17
17
|
puts Extensionator::VERSION
|
18
18
|
exit
|
@@ -23,7 +23,12 @@ module Extensionator
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
|
26
|
+
if opts.used_options.empty?
|
27
|
+
puts opts
|
28
|
+
exit
|
29
|
+
end
|
30
|
+
|
31
|
+
creator = Creator.new(opts[:directory] || ".", opts)
|
27
32
|
if opts[:format] == "zip"
|
28
33
|
creator.zip(opts[:output] || "output.zip")
|
29
34
|
else
|