Skip to content

Commit

Permalink
Added Carthage built to makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Dec 30, 2020
1 parent 2bebc53 commit 4a49ebb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit 4a49ebb

Please sign in to comment.