Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/bwoken/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def build_path
end

def scheme
Bwoken.app_name
ENV['SCHEME'] || Bwoken.app_name
end

def configuration
Expand Down Expand Up @@ -49,7 +49,7 @@ def variables_for_cli
def cmd
"xcodebuild \
#{Bwoken.workspace_or_project_flag} \
#{"-scheme #{scheme}" if Bwoken.xcworkspace} \
#{"-scheme '#{scheme}'" if Bwoken.xcworkspace} \
-configuration #{configuration} \
-sdk #{sdk} \
-xcconfig #{xcconfig} \
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/bwoken/build_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
regexp = /
xcodebuild\s+
#{workspace_regex}\s+
-scheme\s#{scheme}\s+
-scheme\s'#{scheme}'\s+
-configuration\s#{configuration}\s+
-sdk\s#{sdk}\s+
-xcconfig\s#{xcconfig}\s+
Expand Down