middleman-cli 4.3.2 → 4.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/middleman-cli/build.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 893a5b9ca714130bb6e4c95c462a07fd095bce80738ab8c4e333ce5d74f1900d
|
4
|
+
data.tar.gz: 85ba7c8dd7c21a0b96936c93d5814857b7ab578c5b442668e8bc34a8274ba922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 255e6fa575702f1e2301239304b68262f2271f03fcdaa4b063d1384ec1b0165fa2ab270f4a80bc5ce00e3521c85f11aa38b906a6f11cc5ca188f8fbbff69079b
|
7
|
+
data.tar.gz: e3d8386391a534b4645f7b755da46232debf252f9f9dbadc5204a9d07c3c860b57956d5cc2db9e3ed5fe82df8fd04f6cd2b321ea2dd5956e73b13c7feade5fa9
|
data/lib/middleman-cli/build.rb
CHANGED
@@ -28,6 +28,10 @@ module Middleman::Cli
|
|
28
28
|
type: :boolean,
|
29
29
|
default: false,
|
30
30
|
desc: 'Print debug messages'
|
31
|
+
class_option :bail,
|
32
|
+
type: :boolean,
|
33
|
+
default: false,
|
34
|
+
desc: 'Fail out on the first error and print error messages'
|
31
35
|
class_option :instrument,
|
32
36
|
type: :boolean,
|
33
37
|
default: false,
|
@@ -103,7 +107,9 @@ module Middleman::Cli
|
|
103
107
|
case event_type
|
104
108
|
when :error
|
105
109
|
say_status :error, target, :red
|
106
|
-
shell.say extra, :red if options['verbose']
|
110
|
+
shell.say extra, :red if options['verbose'] || options['bail']
|
111
|
+
|
112
|
+
raise 'Build error' if options['bail']
|
107
113
|
when :deleted
|
108
114
|
say_status :remove, target, :green
|
109
115
|
when :created
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|