Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |