Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
[Issue #75] Aborting if no schemes are found
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Nov 13, 2013
1 parent b6ee3c3 commit a950463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/shenzhen/commands/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def determine_workspace_or_project!
end

def determine_scheme!
say_error "No schemes found in Xcode project or workspace" and abort unless @xcodebuild_info.schemes

if @xcodebuild_info.schemes.length == 1
@scheme = @xcodebuild_info.schemes.first
else
Expand Down

0 comments on commit a950463

Please sign in to comment.