Skip to content

Commit

Permalink
Updates test script
Browse files Browse the repository at this point in the history
  • Loading branch information
tapwork committed Jan 4, 2017
1 parent 9a0e4c2 commit 2ad6b7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Rakefile
@@ -1,10 +1,11 @@
desc "Bootstraps the repo"
task :bootstrap do
sh("bundle")
sh("gem install bundler")
sh("bundle install")
sh("cd Example/HeapInspectorExample && bundle exec pod install")
end

desc "Runs the specs"
task :spec do
sh("xcodebuild -workspace Example/HeapInspectorExample/HeapInspectorExample.xcworkspace -scheme HeapInspectorExample -destination platform='iOS Simulator',OS=10.1,name='iPhone 6s' clean build test -sdk iphonesimulator")
sh("xcodebuild -workspace Example/HeapInspectorExample/HeapInspectorExample.xcworkspace -scheme HeapInspectorExample -destination platform='iOS Simulator',OS=10.1,name='iPhone 6s' clean build test -sdk iphonesimulator | xcpretty")
end

0 comments on commit 2ad6b7c

Please sign in to comment.