From 4a49ebb985bc16fae9489771aa35482ccbea14a3 Mon Sep 17 00:00:00 2001 From: Erik Doernenburg Date: Wed, 30 Dec 2020 18:30:57 +0100 Subject: [PATCH] Added Carthage built to makefile. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03a30af1..3cd0bc2b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ XCODECI = xcodebuild -project "$(CURDIR)/Source/OCMock.xcodeproj" -xcconfig XCODEDIST = xcodebuild -project "$(CURDIR)/Source/OCMock.xcodeproj" -xcconfig "$(CURDIR)/Source/OCMockDist.xcconfig" SHELL = /bin/bash -e -o pipefail -.PHONY: macos ioslib ios tvos watchos sourcecode product dmg +.PHONY: macos ioslib ios tvos watchos sourcecode product dmg carthage clean: rm -rf "$(CURDIR)/Build" @@ -63,3 +63,8 @@ product: macos ioslib ios tvos watchos dmg: @echo "** Creating disk image..." Tools/makedmg.rb $(PRODUCT_DIR) $(BUILD_DIR) + + +carthage: + XCODE_XCCONFIG_FILE="$(CURDIR)/Source/Carthage.xcconfig" carthage build --no-skip-current --project-directory "$(CURDIR)/Source" + XCODE_XCCONFIG_FILE="$(CURDIR)/Source/Carthage.xcconfig" carthage archive OCMock