yolo 1.1.2 → 1.1.3
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/README.md +1 -1
- data/lib/yolo/tasks/ios/calabash.rb +6 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -34,7 +34,7 @@ It is recommended that you have [rvm](https://rvm.io/) installed and do not inst
|
|
34
34
|
## Running Tests
|
35
35
|
|
36
36
|
* [OCUnit & Kiwi](https://github.com/alexefish/yolo/wiki/OCUnit-&-Kiwi)
|
37
|
-
* [Calabash](https://github.com/alexefish/yolo/wiki/
|
37
|
+
* [Calabash](https://github.com/alexefish/yolo/wiki/Calabash)
|
38
38
|
|
39
39
|
## Jenkins
|
40
40
|
Running yolo from your Jenkins jobs is very simple, the following plugins are required:
|
@@ -31,7 +31,7 @@ module Yolo
|
|
31
31
|
namespace :yolo do
|
32
32
|
namespace :calabash do
|
33
33
|
desc "Runs the specified scheme(s) calabash tests."
|
34
|
-
task :test do
|
34
|
+
task :test => :build do
|
35
35
|
Yolo::Tools::Ios::Calabash.run(format, output_dir)
|
36
36
|
end
|
37
37
|
|
@@ -40,6 +40,11 @@ module Yolo
|
|
40
40
|
xcodebuild :clean
|
41
41
|
end
|
42
42
|
|
43
|
+
desc "Builds the specified scheme(s)."
|
44
|
+
task :build do
|
45
|
+
xcodebuild :build
|
46
|
+
end
|
47
|
+
|
43
48
|
desc "Runs the specified scheme(s) calabash tests from a clean slate."
|
44
49
|
task :cleantest => [:clean, :test]
|
45
50
|
end
|