From 7bbf00e315d4fc45eb3a54e256f2aeb3ea379d21 Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Sun, 19 Jan 2014 00:17:42 +0000 Subject: Fix make files and running tests. --- Frameworks/PostgresKit/Makefile | 16 +++++-------- .../PostgresKit.xcodeproj/project.pbxproj | 28 +++++++--------------- 2 files changed, 14 insertions(+), 30 deletions(-) (limited to 'Frameworks/PostgresKit') 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; -- cgit v1.2.3