@@ -3,8 +3,11 @@ SHELL := /bin/bash
33HOST_ARCH := $(shell uname -m)
44RELEASE_VERSION ?= $(shell sed -n '1p' VERSION)
55BUILD_NUMBER ?= 1
6+ VERIFY_JOBS ?= 4
7+ TEST_DERIVED_DATA ?= DerivedData/Test
8+ BUILD_DERIVED_DATA ?= DerivedData/Build
69
7- .PHONY : project test core-test app-test release-check build verify release clean
10+ .PHONY : project test core-test app-test release-check build verify verify-lanes verify-product-lanes release clean
811
912project :
1013 ./scripts/generate-project.sh
@@ -20,7 +23,7 @@ app-test: project
2023 -scheme Slopwake \
2124 -configuration Debug \
2225 -destination ' platform=macOS,arch=$(HOST_ARCH)' \
23- -derivedDataPath DerivedData \
26+ -derivedDataPath $( TEST_DERIVED_DATA ) \
2427 CODE_SIGN_IDENTITY=- \
2528 ONLY_ACTIVE_ARCH=YES \
2629 ARCHS=$(HOST_ARCH ) \
@@ -35,7 +38,7 @@ build: project
3538 -scheme Slopwake \
3639 -configuration Release \
3740 -destination ' generic/platform=macOS' \
38- -derivedDataPath DerivedData \
41+ -derivedDataPath $( BUILD_DERIVED_DATA ) \
3942 CODE_SIGNING_ALLOWED=NO \
4043 MARKETING_VERSION=$(RELEASE_VERSION ) \
4144 CURRENT_PROJECT_VERSION=$(BUILD_NUMBER ) \
@@ -44,7 +47,12 @@ build: project
4447release : build
4548 RELEASE_VERSION=$(RELEASE_VERSION ) ./scripts/release.sh
4649
47- verify : test release-check build
50+ verify :
51+ +$(MAKE ) --no-print-directory -j$(VERIFY_JOBS ) verify-lanes
52+
53+ verify-lanes : verify-product-lanes release-check
54+
55+ verify-product-lanes : core-test app-test build
4856
4957clean :
5058 swift package clean
0 commit comments