Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezreal committed Oct 8, 2021
1 parent 744dc58 commit 31c7dbd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
DESTINATION_MAC = platform=macOS
DESTINATION_IOS = platform=iOS Simulator,name=iPhone 8
DESTINATION_TVOS = platform=tvOS Simulator,name=Apple TV

default: test

test:
test-macos:
xcodebuild \
-scheme AttributedText \
-destination '$(DESTINATION_MAC)'
-destination platform="macOS"

test-ios:
xcodebuild test \
-scheme AttributedText \
-destination '$(DESTINATION_IOS)'
-destination platform="iOS Simulator,name=iPhone 8,OS=14.5"

test-tvos:
xcodebuild test \
-scheme AttributedText \
-destination '$(DESTINATION_TVOS)'
-destination platform="tvOS Simulator,name=Apple TV,OS=14.5"

test: test-macos test-ios test-tvos

format:
swift format --in-place --recursive .
Expand Down

0 comments on commit 31c7dbd

Please sign in to comment.