File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66before_install :
77 - gem install xcpretty
88script :
9- - rake clean test
9+ - rake clean
10+ - rake test
11+
Original file line number Diff line number Diff line change 11WORKSPASE = "JavaScriptBridge.xcworkspace"
22SCHEME = "Tests"
3- DESTINATIONS = [ "name=iPhone Retina (3.5-inch),OS=7.0" ,
4- "name=iPhone Retina (4-inch),OS=7.0" ,
3+ DESTINATIONS = [
54 "name=iPhone Retina (4-inch 64-bit),OS=7.0" ]
65
76task :default => [ :clean , :test ]
87
98desc "clean"
109task :clean do
11- sh "xcodebuild clean -workspace #{ WORKSPASE } -scheme #{ SCHEME } | xcpretty -c"
10+ system ( "xcodebuild clean -workspace #{ WORKSPASE } -scheme #{ SCHEME } | xcpretty -c" )
1211end
1312
1413desc "run unit tests"
1514task :test do
1615 DESTINATIONS . each do |destination |
17- sh "xcodebuild test -sdk iphonesimulator -workspace #{ WORKSPASE } -scheme #{ SCHEME } -configuration Debug -destination \" #{ destination } \" | xcpretty -c"
16+ system ( "xcodebuild test -sdk iphonesimulator -workspace #{ WORKSPASE } -scheme #{ SCHEME } -configuration Debug -destination \" #{ destination } \" | xcpretty -c" )
1817 end
1918end
You can’t perform that action at this time.
0 commit comments