Skip to content

Commit 837c2f4

Browse files
Merge branch 'release/1.3.1'
2 parents e5d0469 + ec28171 commit 837c2f4

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

Info/MKHProjGen.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3.0</string>
18+
<string>1.3.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

Lib/Target/Target.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,21 @@ extension Project
111111
{
112112
var ut = Target(self.platform, name, .unitTest, configureTarget)
113113

114+
//===
115+
114116
ut.dependencies.otherTarget(self.name)
115117

118+
if
119+
type == .app
120+
{
121+
ut.configurations.all.override(
122+
123+
// https://github.com/workshop/struct/blob/master/examples/iOS_Application/project.yml#L115
124+
"TEST_HOST"
125+
<<< "$(BUILT_PRODUCTS_DIR)/\(self.name).app/\(self.name)"
126+
)
127+
}
128+
116129
//===
117130

118131
tests.append(ut)

MKHProjGen.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
444444
CODE_SIGN_IDENTITY = "-";
445445
COPY_PHASE_STRIP = NO;
446-
CURRENT_PROJECT_VERSION = 10;
446+
CURRENT_PROJECT_VERSION = 11;
447447
DEBUG_INFORMATION_FORMAT = dwarf;
448448
ENABLE_STRICT_OBJC_MSGSEND = YES;
449449
ENABLE_TESTABILITY = YES;
@@ -495,7 +495,7 @@
495495
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
496496
CODE_SIGN_IDENTITY = "-";
497497
COPY_PHASE_STRIP = NO;
498-
CURRENT_PROJECT_VERSION = 10;
498+
CURRENT_PROJECT_VERSION = 11;
499499
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
500500
ENABLE_NS_ASSERTIONS = NO;
501501
ENABLE_STRICT_OBJC_MSGSEND = YES;

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
2+
13
# MKHProjGen
24
A Swift wrapper around Xcode project generator Struct.

0 commit comments

Comments
 (0)