calasmash 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -11,6 +11,7 @@ spec/reports
11
11
  test/tmp
12
12
  test/version_tmp
13
13
  tmp
14
+ .DS_Store
14
15
 
15
16
  # YARD artifacts
16
17
  .yardoc
@@ -1,3 +1,3 @@
1
1
  module Calasmash
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calasmash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: