From 31c7dbddb86c6c68fdc046bde95705cc5aa6de36 Mon Sep 17 00:00:00 2001 From: Guille Gonzalez Date: Fri, 8 Oct 2021 13:28:12 +0200 Subject: [PATCH] Update Makefile --- Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 47b761d..f64f5f3 100644 --- a/Makefile +++ b/Makefile @@ -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 .