Commit ed6695d8 authored by Ben Asher's avatar Ben Asher

fail -> raise

parent 3d534c3b
...@@ -277,7 +277,7 @@ begin ...@@ -277,7 +277,7 @@ begin
simulator_name = major_version > 5 ? 'iPhone 6' : 'iPhone Retina (4-inch)' simulator_name = major_version > 5 ? 'iPhone 6' : 'iPhone Retina (4-inch)'
execute_command "xcodebuild -workspace '#{workspace_path}' -scheme '#{scheme_name}' clean build ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=#{simulator_name}'" execute_command "xcodebuild -workspace '#{workspace_path}' -scheme '#{scheme_name}' clean build ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=#{simulator_name}'"
else else
fail "Unknown platform #{platform.to_s}" raise "Unknown platform #{platform.to_s}"
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment