From 7c0358339e640aae90401ef529b83a6ca440a484 Mon Sep 17 00:00:00 2001 From: LAbyOne <63520775+LAbyOne@users.noreply.github.com> Date: Thu, 6 May 2021 14:29:45 +0200 Subject: [PATCH] Add files via upload --- buildme | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/buildme b/buildme index 1cb224541..2ca61b6bb 100755 --- a/buildme +++ b/buildme @@ -130,6 +130,26 @@ else fi } +buildCPV() { +if [[ -d "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator ]]; then + rm -Rf "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator +fi + mkdir -p "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator + cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator + xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR="${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator + rm -r "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator/*.dSYM && open "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator +} + +buildCCPV() { +if [[ -d "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator ]]; then + rm -Rf "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator +fi + mkdir -p "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator + cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator + xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR="${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator + rm -r "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator/*.dSYM +} + buildClover() { checkTools @@ -278,6 +298,7 @@ options=( 'build Clover' 'make app (with Clover)' 'make iso' 'build all' + 'build CloverConfigPlistValidator' 'test build (no autogen, no boot files)' 'status' 'update Clover' @@ -299,7 +320,8 @@ do break ;; "make pkg") - buildPkg + buildCCPV + buildPkg break ;; "make app") @@ -315,12 +337,17 @@ do break ;; "build all") + buildCCPV buildClover buildPkg buildIso buildApp break ;; + "build CloverConfigPlistValidator") + buildCPV + break + ;; "test build (no autogen, no boot files)") buildCloverTest break @@ -381,6 +408,7 @@ if [[ "$2" == ci ]]; then buildPkg buildIso buildApp + buildCPV else menu fi