Skip to content

Commit 4a49ebb

Browse files
committed
Added Carthage built to makefile.
1 parent 2bebc53 commit 4a49ebb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ XCODECI = xcodebuild -project "$(CURDIR)/Source/OCMock.xcodeproj" -xcconfig
1212
XCODEDIST = xcodebuild -project "$(CURDIR)/Source/OCMock.xcodeproj" -xcconfig "$(CURDIR)/Source/OCMockDist.xcconfig"
1313
SHELL = /bin/bash -e -o pipefail
1414

15-
.PHONY: macos ioslib ios tvos watchos sourcecode product dmg
15+
.PHONY: macos ioslib ios tvos watchos sourcecode product dmg carthage
1616

1717
clean:
1818
rm -rf "$(CURDIR)/Build"
@@ -63,3 +63,8 @@ product: macos ioslib ios tvos watchos
6363
dmg:
6464
@echo "** Creating disk image..."
6565
Tools/makedmg.rb $(PRODUCT_DIR) $(BUILD_DIR)
66+
67+
68+
carthage:
69+
XCODE_XCCONFIG_FILE="$(CURDIR)/Source/Carthage.xcconfig" carthage build --no-skip-current --project-directory "$(CURDIR)/Source"
70+
XCODE_XCCONFIG_FILE="$(CURDIR)/Source/Carthage.xcconfig" carthage archive OCMock

0 commit comments

Comments
 (0)