main
1task :default => :spec
2
3task :setup do
4 system 'brew update'
5 system 'brew install xctool'
6end
7
8task :xcode do
9 system "open *.xcworkspace"
10end
11
12task :clean do
13 system "xctool clean"
14end
15
16task :build do
17 system "xctool -scheme Pods-MovieLibraryTests clean build"
18end
19
20task :spec do
21 system "xctool test TEST_AFTER_BUILD=YES TEST_HOST=''"
22end