From e8c872b286a2ff3c5fb420dfdef3d623d14e00ce Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Thu, 3 Jan 2019 15:58:43 -0800 Subject: [PATCH] Use local "build" directory for Run-Tests.sh --- .gitignore | 5 ++--- Run-Tests.sh | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d7d4abb..108a40f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .DS_Store xcuserdata project.xcworkspace - -Tests/Payload -Carthage/Build +/build +/Carthage/Build diff --git a/Run-Tests.sh b/Run-Tests.sh index e2fbf98..b972de2 100755 --- a/Run-Tests.sh +++ b/Run-Tests.sh @@ -15,11 +15,11 @@ CONFIGURATION="Release" OSX_TEST_SCHEME="GCDWebServers (Mac)" -BUILD_DIR="/tmp/GCDWebServer-Build" +BUILD_DIR="`pwd`/build" PRODUCT="$BUILD_DIR/$CONFIGURATION/GCDWebServer" PAYLOAD_ZIP="Tests/Payload.zip" -PAYLOAD_DIR="/tmp/GCDWebServer-Payload" +PAYLOAD_DIR="`pwd`/build/Payload" function runTests { EXECUTABLE="$1"