Skip to content

Commit bf93c91

Browse files
committed
Merge pull request #50 from patgoley/cdqi-build-script
created build script for running CDQI. fixes #49
2 parents cf355b0 + a616e03 commit bf93c91

File tree

3 files changed

+65
-2
lines changed

3 files changed

+65
-2
lines changed

Examples/TopHits/TopHits.xcodeproj/project.pbxproj

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,27 @@
3030
/* End PBXBuildFile section */
3131

3232
/* Begin PBXContainerItemProxy section */
33+
8E009ECA1CD5759B00B056B4 /* PBXContainerItemProxy */ = {
34+
isa = PBXContainerItemProxy;
35+
containerPortal = F340B33A1C40EB3B008CF49E /* CoreDataQueryInterface.xcodeproj */;
36+
proxyType = 2;
37+
remoteGlobalIDString = F356DC2B1CCFFF4C00BF0907;
38+
remoteInfo = CoreDataQueryInterfacetvOS;
39+
};
40+
8E009ECC1CD5759B00B056B4 /* PBXContainerItemProxy */ = {
41+
isa = PBXContainerItemProxy;
42+
containerPortal = F340B33A1C40EB3B008CF49E /* CoreDataQueryInterface.xcodeproj */;
43+
proxyType = 2;
44+
remoteGlobalIDString = F356DC341CCFFF4C00BF0907;
45+
remoteInfo = CoreDataQueryInterfacetvOSTests;
46+
};
47+
8E009ECE1CD5759B00B056B4 /* PBXContainerItemProxy */ = {
48+
isa = PBXContainerItemProxy;
49+
containerPortal = F340B33A1C40EB3B008CF49E /* CoreDataQueryInterface.xcodeproj */;
50+
proxyType = 2;
51+
remoteGlobalIDString = F3F1BC531CD0020100F9072D;
52+
remoteInfo = CoreDataQueryInterfacewatchOS;
53+
};
3354
F340B3411C40EB3B008CF49E /* PBXContainerItemProxy */ = {
3455
isa = PBXContainerItemProxy;
3556
containerPortal = F340B33A1C40EB3B008CF49E /* CoreDataQueryInterface.xcodeproj */;
@@ -152,6 +173,9 @@
152173
F340B3441C40EB3B008CF49E /* CoreDataQueryInterfaceiOSTests.xctest */,
153174
F340B3461C40EB3B008CF49E /* CoreDataQueryInterface.framework */,
154175
F340B3481C40EB3B008CF49E /* CoreDataQueryInterfaceOSXTests.xctest */,
176+
8E009ECB1CD5759B00B056B4 /* CoreDataQueryInterface.framework */,
177+
8E009ECD1CD5759B00B056B4 /* CoreDataQueryInterfacetvOSTests.xctest */,
178+
8E009ECF1CD5759B00B056B4 /* CoreDataQueryInterface.framework */,
155179
);
156180
name = Products;
157181
sourceTree = "<group>";
@@ -194,6 +218,7 @@
194218
isa = PBXNativeTarget;
195219
buildConfigurationList = F340B3151C40EA08008CF49E /* Build configuration list for PBXNativeTarget "TopHits" */;
196220
buildPhases = (
221+
8E009EC31CD5759B00B056B4 /* CDQI */,
197222
F340B2FF1C40EA08008CF49E /* Sources */,
198223
F340B3001C40EA08008CF49E /* Frameworks */,
199224
F340B3011C40EA08008CF49E /* Resources */,
@@ -249,6 +274,27 @@
249274
/* End PBXProject section */
250275

251276
/* Begin PBXReferenceProxy section */
277+
8E009ECB1CD5759B00B056B4 /* CoreDataQueryInterface.framework */ = {
278+
isa = PBXReferenceProxy;
279+
fileType = wrapper.framework;
280+
path = CoreDataQueryInterface.framework;
281+
remoteRef = 8E009ECA1CD5759B00B056B4 /* PBXContainerItemProxy */;
282+
sourceTree = BUILT_PRODUCTS_DIR;
283+
};
284+
8E009ECD1CD5759B00B056B4 /* CoreDataQueryInterfacetvOSTests.xctest */ = {
285+
isa = PBXReferenceProxy;
286+
fileType = wrapper.cfbundle;
287+
path = CoreDataQueryInterfacetvOSTests.xctest;
288+
remoteRef = 8E009ECC1CD5759B00B056B4 /* PBXContainerItemProxy */;
289+
sourceTree = BUILT_PRODUCTS_DIR;
290+
};
291+
8E009ECF1CD5759B00B056B4 /* CoreDataQueryInterface.framework */ = {
292+
isa = PBXReferenceProxy;
293+
fileType = wrapper.framework;
294+
path = CoreDataQueryInterface.framework;
295+
remoteRef = 8E009ECE1CD5759B00B056B4 /* PBXContainerItemProxy */;
296+
sourceTree = BUILT_PRODUCTS_DIR;
297+
};
252298
F340B3421C40EB3B008CF49E /* CoreDataQueryInterface.framework */ = {
253299
isa = PBXReferenceProxy;
254300
fileType = wrapper.framework;
@@ -293,6 +339,23 @@
293339
};
294340
/* End PBXResourcesBuildPhase section */
295341

342+
/* Begin PBXShellScriptBuildPhase section */
343+
8E009EC31CD5759B00B056B4 /* CDQI */ = {
344+
isa = PBXShellScriptBuildPhase;
345+
buildActionMask = 2147483647;
346+
files = (
347+
);
348+
inputPaths = (
349+
);
350+
name = CDQI;
351+
outputPaths = (
352+
);
353+
runOnlyForDeploymentPostprocessing = 0;
354+
shellPath = /bin/sh;
355+
shellScript = "TARGET_DIR=\"${PROJECT_DIR}/${TARGET_NAME}\"\nCDQI=\"$(dirname $(dirname ${PROJECT_DIR}))/bin/cdqi\"\n# for carthage install use ${PROJECT_DIR}/Carthage/Checkouts/CoreDataQueryInterface/bin/cdqi\n\nfor f in $(find $TARGET_DIR -name \"*.xcdatamodeld\")\ndo\n FILENAME=\"$(basename $f)\"\n MODEL_DIR=\"$(dirname $f)\"\n MODEL=${FILENAME%.*}\n echo \"Generating model attributes for ${f}\"\n $($CDQI --in $MODEL_DIR --force \"${MODEL}\")\ndone";
356+
};
357+
/* End PBXShellScriptBuildPhase section */
358+
296359
/* Begin PBXSourcesBuildPhase section */
297360
F340B2FF1C40EA08008CF49E /* Sources */ = {
298361
isa = PBXSourcesBuildPhase;

Examples/TopHits/TopHits/ArtistAttribute.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Generated by CDQI on 2016-04-26.
2+
// Generated by CDQI on 2016-04-30.
33
//
44
// This file was generated by a tool. Further invocations of this tool will overwrite this file.
55
// Edit it at your own risk.

Examples/TopHits/TopHits/SongAttribute.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Generated by CDQI on 2016-04-26.
2+
// Generated by CDQI on 2016-04-30.
33
//
44
// This file was generated by a tool. Further invocations of this tool will overwrite this file.
55
// Edit it at your own risk.

0 commit comments

Comments
 (0)