From 94cc309f388b1bcfdee7c11a1d70ddfb306cc38f Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 26 Mar 2021 23:31:32 +0300 Subject: [PATCH] Correct smart build phases paths --- templates/project.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/project.mustache b/templates/project.mustache index 8b1ab68..b44b8e0 100644 --- a/templates/project.mustache +++ b/templates/project.mustache @@ -96,7 +96,7 @@ aggregateTargets: buildScripts: - name: Check Pods Manifest.lock script: | - readonly PODS_ROOT=${SRCROOT}/Pods + readonly PODS_ROOT="${SRCROOT}/Pods" . ${SRCROOT}/build_phases/check_pods_manifest.sh inputFiles: - ${SRCROOT}/Podfile.lock @@ -106,8 +106,8 @@ aggregateTargets: - name: Swiftlint script: | - readonly PODS_ROOT=${SRCROOT}/Pods - readonly SCRIPT_DIR=${SRCROOT}/build-scripts/xcode/build_phases + readonly PODS_ROOT="${SRCROOT}/Pods" + readonly SCRIPT_DIR="${SRCROOT}/build-scripts/xcode/build_phases" . ${SCRIPT_DIR}/swiftlint.sh inputFileLists: - $(SRCROOT)/build_phases/code_lint_folders.xcfilelist @@ -115,7 +115,7 @@ aggregateTargets: - name: CopyPaste Detection script: | - readonly SCRIPT_DIR=${SRCROOT}/build-scripts/xcode/build_phases + readonly SCRIPT_DIR="${SRCROOT}/build-scripts/xcode/build_phases" . build-scripts/xcode/build_phases/copy_paste_detection.sh Localization Generated Pods inputFileLists: - $(SRCROOT)/build_phases/code_lint_folders.xcfilelist