calasmash 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/lib/calasmash/version.rb +1 -1
- data/lib/calasmash.rb +8 -0
- metadata +1 -1
data/.gitignore
CHANGED
data/lib/calasmash/version.rb
CHANGED
data/lib/calasmash.rb
CHANGED
@@ -81,6 +81,11 @@ module Calasmash
|
|
81
81
|
IO.popen("xcodebuild -workspace #{@options[:workspace]} -scheme #{@options[:scheme]} -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO") {|output|
|
82
82
|
puts output.read
|
83
83
|
}
|
84
|
+
|
85
|
+
if $?.to_i > 0
|
86
|
+
puts "Compilation failed"
|
87
|
+
exit $?.to_i
|
88
|
+
end
|
84
89
|
end
|
85
90
|
|
86
91
|
def update_plist
|
@@ -120,6 +125,9 @@ module Calasmash
|
|
120
125
|
IO.popen(cucumber_command) {|output|
|
121
126
|
puts output.read
|
122
127
|
}
|
128
|
+
|
129
|
+
# exit with whatever status cucumber has exited
|
130
|
+
exit $?.to_i
|
123
131
|
end
|
124
132
|
|
125
133
|
def app_path
|