Skip to content

Commit 9207fe4

Browse files
committed
Add resources to Xcode project
1 parent 91d3230 commit 9207fe4

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

OCDiff.xcodeproj/project.pbxproj

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
C91B953C1951CE9600290AC0 /* LICENSE in Copy Resources */ = {isa = PBXBuildFile; fileRef = C91B95171951CA8000290AC0 /* LICENSE */; };
11+
C91B953D1951CE9700290AC0 /* README.md in Copy Resources */ = {isa = PBXBuildFile; fileRef = C91B951A1951CAE800290AC0 /* README.md */; };
1012
C9577E9B193ADEA800FCAC57 /* NSString+OCDPathUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = C9577E9A193ADEA800FCAC57 /* NSString+OCDPathUtilities.m */; };
1113
C9577E9C193AE25500FCAC57 /* NSString+OCDPathUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = C9577E9A193ADEA800FCAC57 /* NSString+OCDPathUtilities.m */; };
1214
C96194C51928E6AE00BDBD7C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C96194B41928E57700BDBD7C /* Foundation.framework */; };
@@ -38,6 +40,18 @@
3840
/* End PBXContainerItemProxy section */
3941

4042
/* Begin PBXCopyFilesBuildPhase section */
43+
C91B953B1951CE8E00290AC0 /* Copy Resources */ = {
44+
isa = PBXCopyFilesBuildPhase;
45+
buildActionMask = 2147483647;
46+
dstPath = "";
47+
dstSubfolderSpec = 7;
48+
files = (
49+
C91B953C1951CE9600290AC0 /* LICENSE in Copy Resources */,
50+
C91B953D1951CE9700290AC0 /* README.md in Copy Resources */,
51+
);
52+
name = "Copy Resources";
53+
runOnlyForDeploymentPostprocessing = 0;
54+
};
4155
C96194D51928F01400BDBD7C /* Copy Frameworks */ = {
4256
isa = PBXCopyFilesBuildPhase;
4357
buildActionMask = 2147483647;
@@ -53,6 +67,9 @@
5367

5468
/* Begin PBXFileReference section */
5569
C91516D3194DE40B000AB047 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
70+
C91B95171951CA8000290AC0 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = SOURCE_ROOT; };
71+
C91B951A1951CAE800290AC0 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.md; sourceTree = SOURCE_ROOT; };
72+
C91B95351951CD5900290AC0 /* objc-diff.pod */ = {isa = PBXFileReference; lastKnownFileType = text; path = "objc-diff.pod"; sourceTree = "<group>"; };
5673
C934DFCF193A20D50073B1B6 /* apidiff.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; path = apidiff.css; sourceTree = "<group>"; };
5774
C934DFD0193A2E990073B1B6 /* OCDReportGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCDReportGenerator.h; sourceTree = "<group>"; };
5875
C9577E99193ADEA800FCAC57 /* NSString+OCDPathUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+OCDPathUtilities.h"; sourceTree = "<group>"; };
@@ -104,8 +121,11 @@
104121
C934DFCE193A20C40073B1B6 /* Supporting Files */ = {
105122
isa = PBXGroup;
106123
children = (
107-
C91516D3194DE40B000AB047 /* Info.plist */,
108124
C934DFCF193A20D50073B1B6 /* apidiff.css */,
125+
C91516D3194DE40B000AB047 /* Info.plist */,
126+
C91B95171951CA8000290AC0 /* LICENSE */,
127+
C91B95351951CD5900290AC0 /* objc-diff.pod */,
128+
C91B951A1951CAE800290AC0 /* README.md */,
109129
);
110130
name = "Supporting Files";
111131
sourceTree = "<group>";
@@ -193,6 +213,8 @@
193213
C96194D51928F01400BDBD7C /* Copy Frameworks */,
194214
C96194C01928E6AE00BDBD7C /* Sources */,
195215
C96194C11928E6AE00BDBD7C /* Frameworks */,
216+
C91B953B1951CE8E00290AC0 /* Copy Resources */,
217+
C91B951F1951CB1D00290AC0 /* Generate Manual Page */,
196218
);
197219
buildRules = (
198220
);
@@ -263,6 +285,27 @@
263285
};
264286
/* End PBXResourcesBuildPhase section */
265287

288+
/* Begin PBXShellScriptBuildPhase section */
289+
C91B951F1951CB1D00290AC0 /* Generate Manual Page */ = {
290+
isa = PBXShellScriptBuildPhase;
291+
buildActionMask = 12;
292+
files = (
293+
);
294+
inputPaths = (
295+
"$(SRCROOT)/$(TARGET_NAME)/objc-diff.pod",
296+
"$(SRCROOT)/$(TARGET_NAME)/Info.plist",
297+
);
298+
name = "Generate Manual Page";
299+
outputPaths = (
300+
"$(TARGET_BUILD_DIR)/objc-diff.1",
301+
);
302+
runOnlyForDeploymentPostprocessing = 0;
303+
shellPath = /bin/sh;
304+
shellScript = "VERSION=`/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"${SRCROOT}/${TARGET_NAME}/Info.plist\"`\npod2man --release \"${EXECUTABLE_NAME} ${VERSION}\" --center \"\" \"${SRCROOT}/${TARGET_NAME}/objc-diff.pod\" \"${TARGET_BUILD_DIR}/objc-diff.1\"\n";
305+
showEnvVarsInLog = 0;
306+
};
307+
/* End PBXShellScriptBuildPhase section */
308+
266309
/* Begin PBXSourcesBuildPhase section */
267310
C96194C01928E6AE00BDBD7C /* Sources */ = {
268311
isa = PBXSourcesBuildPhase;

0 commit comments

Comments
 (0)