Skip to content

Commit

Permalink
update device
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Oct 18, 2023
1 parent f8aaf06 commit 1425af0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
build: buildSdk buildExample

buildSdk:
set -o pipefail && xcodebuild build -project PostHog.xcodeproj -scheme PostHog -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | xcpretty
set -o pipefail && xcodebuild build -project PostHog.xcodeproj -scheme PostHog -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' | xcpretty

buildExample:
set -o pipefail && xcodebuild build -project PostHog.xcodeproj -scheme PostHogExample -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | xcpretty
set -o pipefail && xcodebuild build -project PostHog.xcodeproj -scheme PostHogExample -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' | xcpretty

format: swiftLint swiftFormat

Expand All @@ -17,7 +17,7 @@ swiftFormat:
swiftformat . --swiftversion 5.3

test:
set -o pipefail && xcodebuild test -project PostHog.xcodeproj -scheme PostHog -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | xcpretty
set -o pipefail && xcodebuild test -project PostHog.xcodeproj -scheme PostHog -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' | xcpretty

lint:
swiftformat . --lint --swiftversion 5.3 && swiftlint

0 comments on commit 1425af0

Please sign in to comment.