aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2014-01-19 00:17:42 +0000
committerStuart Connolly <stuart02@gmail.com>2014-01-19 00:17:42 +0000
commit7bbf00e315d4fc45eb3a54e256f2aeb3ea379d21 (patch)
tree982437ba510aff61e1344f0b36093adf78f31b24
parent1ee5c3517856bcad6c51f525af7fd8f84bd6d12e (diff)
downloadsequelpro-7bbf00e315d4fc45eb3a54e256f2aeb3ea379d21.tar.gz
sequelpro-7bbf00e315d4fc45eb3a54e256f2aeb3ea379d21.tar.bz2
sequelpro-7bbf00e315d4fc45eb3a54e256f2aeb3ea379d21.zip
Fix make files and running tests.
-rw-r--r--Frameworks/PostgresKit/Makefile16
-rw-r--r--Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj28
-rw-r--r--Frameworks/QueryKit/Makefile16
-rw-r--r--Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj20
-rw-r--r--Makefile7
-rw-r--r--sequel-pro.xcodeproj/project.pbxproj16
6 files changed, 28 insertions, 75 deletions
diff --git a/Frameworks/PostgresKit/Makefile b/Frameworks/PostgresKit/Makefile
index 8a01c273..daabf526 100644
--- a/Frameworks/PostgresKit/Makefile
+++ b/Frameworks/PostgresKit/Makefile
@@ -8,20 +8,16 @@ BUILD_CONFIG?=$(CONFIG)
CP=ditto --rsrc
RM=rm
-.PHONY: postgreskit test clean clean-all latest
+.PHONY: postgreskit test analyze clean
querykit:
- xcodebuild -project PostgresKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) build
+ xcodebuild -project PostgresKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(PGK_CFLAGS)" $(OPTIONS) build
test:
- xcodebuild -project PostgresKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target Tests $(OPTIONS) build
+ xcodebuild -project PostgresKit.xcodeproj -scheme "PostgresKit" -configuration "$(BUILD_CONFIG)" CFLAGS="$(PGK_CFLAGS)" $(OPTIONS) test
-clean:
- xcodebuild -project PostgresKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) -nodependencies clean
+analyze:
+ xcodebuild -project PostgresKit.xcodeproj -scheme "PostgresKit" -configuration "$(BUILD_CONFIG)" CFLAGS="$(PGK_CFLAGS)" $(OPTIONS) analyze
-clean-all:
+clean:
xcodebuild -project PostgresKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) clean
-
-latest:
- svn update
- make postgreskit \ No newline at end of file
diff --git a/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj b/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj
index 57c95355..b7ceec7e 100644
--- a/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj
+++ b/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj
@@ -452,7 +452,6 @@
buildPhases = (
1724CD0015FB68E800AB2291 /* Sources */,
1724CD0115FB68E800AB2291 /* Frameworks */,
- 1724CD0215FB68E800AB2291 /* ShellScript */,
);
buildRules = (
);
@@ -487,6 +486,8 @@
/* Begin PBXProject section */
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ };
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "PostgresKit" */;
compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
@@ -508,22 +509,6 @@
};
/* End PBXProject section */
-/* Begin PBXShellScriptBuildPhase section */
- 1724CD0215FB68E800AB2291 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Scripts/run-tests.sh\"\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
/* Begin PBXSourcesBuildPhase section */
1724CD0015FB68E800AB2291 /* Sources */ = {
isa = PBXSourcesBuildPhase;
@@ -595,6 +580,7 @@
);
PREBINDING = YES;
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Debug;
@@ -621,6 +607,7 @@
);
PREBINDING = YES;
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
ZERO_LINK = NO;
};
@@ -646,6 +633,7 @@
);
PREBINDING = YES;
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Distribution;
@@ -663,7 +651,7 @@
INFOPLIST_FILE = Resources/Info.plist;
INFOPLIST_PREFIX_HEADER = "";
PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
VALID_ARCHS = "i386 x86_64";
};
name = Distribution;
@@ -827,7 +815,7 @@
INFOPLIST_PREFIX_HEADER = "";
ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
VALID_ARCHS = "i386 x86_64";
};
name = Debug;
@@ -845,7 +833,7 @@
INFOPLIST_FILE = Resources/Info.plist;
INFOPLIST_PREFIX_HEADER = "";
PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
VALID_ARCHS = "i386 x86_64";
};
name = Release;
diff --git a/Frameworks/QueryKit/Makefile b/Frameworks/QueryKit/Makefile
index d6322e51..2f776fbc 100644
--- a/Frameworks/QueryKit/Makefile
+++ b/Frameworks/QueryKit/Makefile
@@ -8,20 +8,16 @@ BUILD_CONFIG?=$(CONFIG)
CP=ditto --rsrc
RM=rm
-.PHONY: querykit test clean clean-all latest
+.PHONY: querykit test analyze clean latest
querykit:
- xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) build
+ xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(QK_CFLAGS)" $(OPTIONS) build
test:
- xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target Tests $(OPTIONS) build
+ xcodebuild -project QueryKit.xcodeproj -scheme "QueryKit" -configuration "$(BUILD_CONFIG)" CFLAGS="$(QK_CFLAGS)" $(OPTIONS) test
-clean:
- xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) -nodependencies clean
+analyze:
+ xcodebuild -project QueryKit.xcodeproj -scheme "QueryKit" -configuration "$(BUILD_CONFIG)" CFLAGS="$(QK_CFLAGS)" $(OPTIONS) analyze
-clean-all:
+clean:
xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) clean
-
-latest:
- svn update
- make querykit
diff --git a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
index bc8dc5a8..aa6ea9ce 100644
--- a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
+++ b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
@@ -321,7 +321,6 @@
buildPhases = (
17E5969A14F307CE0054EE08 /* Sources */,
17E5969B14F307CE0054EE08 /* Frameworks */,
- 17E5969C14F307CE0054EE08 /* ShellScript */,
);
buildRules = (
);
@@ -391,22 +390,6 @@
};
/* End PBXResourcesBuildPhase section */
-/* Begin PBXShellScriptBuildPhase section */
- 17E5969C14F307CE0054EE08 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
/* Begin PBXSourcesBuildPhase section */
17E5969A14F307CE0054EE08 /* Sources */ = {
isa = PBXSourcesBuildPhase;
@@ -544,6 +527,7 @@
SenTestingKit,
);
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Debug;
@@ -569,6 +553,7 @@
SenTestingKit,
);
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
ZERO_LINK = NO;
};
@@ -593,6 +578,7 @@
SenTestingKit,
);
PRODUCT_NAME = Tests;
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Distribution;
diff --git a/Makefile b/Makefile
index cc823460..850e83d5 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ BUILD_CONFIG?=$(CONFIG)
CP=ditto --rsrc
RM=rm
-.PHONY: sequel-pro test clean localize latest
+.PHONY: sequel-pro test analyze clean localize
sequel-pro:
xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) build
@@ -21,8 +21,5 @@ clean:
xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) clean
localize:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) -target Localize
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) -target Localize
-latest:
- svn update
- make sequel-pro
diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj
index 3eaaf9a2..528bf147 100644
--- a/sequel-pro.xcodeproj/project.pbxproj
+++ b/sequel-pro.xcodeproj/project.pbxproj
@@ -485,13 +485,6 @@
remoteGlobalIDString = 17E5969E14F307CE0054EE08;
remoteInfo = Tests;
};
- 580C0B691690DDFB00E7543F /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 2A37F4A9FDCFA73011CA2CEA /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 8D15AC270486D014006FF6A4;
- remoteInfo = "Sequel Pro";
- };
5847571D120A1C6D0057631F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2A37F4A9FDCFA73011CA2CEA /* Project object */;
@@ -2618,7 +2611,6 @@
buildRules = (
);
dependencies = (
- 580C0B6A1690DDFB00E7543F /* PBXTargetDependency */,
);
name = "Unit Tests";
productName = "Unit Tests";
@@ -3275,11 +3267,6 @@
target = 58B9096011C3A42B000826E5 /* xibLocalizationPostprocessor */;
targetProxy = 1798AB401267731F000D946A /* PBXContainerItemProxy */;
};
- 580C0B6A1690DDFB00E7543F /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 8D15AC270486D014006FF6A4 /* Sequel Pro */;
- targetProxy = 580C0B691690DDFB00E7543F /* PBXContainerItemProxy */;
- };
5847571E120A1C6D0057631F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 584754C1120A04560057631F /* Sequel Pro QLGenerator */;
@@ -3691,6 +3678,7 @@
OCMock,
);
PRODUCT_NAME = "Unit Tests";
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Debug;
@@ -3720,6 +3708,7 @@
OCMock,
);
PRODUCT_NAME = "Unit Tests";
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Release;
@@ -3747,6 +3736,7 @@
OCMock,
);
PRODUCT_NAME = "Unit Tests";
+ TEST_AFTER_BUILD = YES;
WRAPPER_EXTENSION = octest;
};
name = Distribution;