Skip to content

Commit

Permalink
Updated makefile to work with xcode 6 in specify simulator versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Mick committed Feb 12, 2015
1 parent 3658f8a commit 32b3a27
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Makefile
Expand Up @@ -10,22 +10,17 @@ NOTIFICATION_ERROR_MSG='You do not have terminal-notifier installed! Run `[sudo]
build: clean
xcodebuild -workspace cm-ios.xcworkspace \
-scheme libcloudmine \
-destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' \
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=8.1' \
2>&1 \
build | xcpretty -c


test: clean build
(xcodebuild -workspace cm-ios.xcworkspace \
-scheme libcloudmine \
-destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' \
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=8.1' \
2>&1 \
test || exit 1) | xcpretty -c
ifeq ($(strip $(TERMINAL_NOTIFIER_INSTALLED)),)
@echo NOTIFICATION_ERROR_MSG
else
terminal-notifier -group $(NOTIFICATION_GROUP) -title $(NOTIFICATION_TITLE) -message $(NOTIFICATION_MESSAGE) -activate $(NOTIFICATION_ACTIVATE)
endif

clean:
xcodebuild -workspace cm-ios.xcworkspace \
Expand Down

0 comments on commit 32b3a27

Please sign in to comment.