Browse Source

seperates cleanup targets (iOS & macOS)

master
Andreas Buff 3 months ago
parent
commit
3e51c3bbd1
4 changed files with 118 additions and 10 deletions
  1. +90
    -6
      CommonPEPDependencies/CommonPEPDependencies.xcodeproj/project.pbxproj
  2. +4
    -4
      CommonPEPDependencies/CommonPEPDependencies.xcodeproj/xcshareddata/xcschemes/CLEAN_ALL.xcscheme
  3. +24
    -0
      clean_all_iOS.sh
  4. +0
    -0
      clean_all_macOS.sh

+ 90
- 6
CommonPEPDependencies/CommonPEPDependencies.xcodeproj/project.pbxproj View File

@ -7,6 +7,19 @@
objects = {
/* Begin PBXAggregateTarget section */
152E47C626A5B7C2009BD3CE /* CLEAN_ALL_iOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 152E47CC26A5B7C2009BD3CE /* Build configuration list for PBXAggregateTarget "CLEAN_ALL_iOS" */;
buildPhases = (
152E47CB26A5B7C2009BD3CE /* Build */,
);
dependencies = (
152E47C726A5B7C2009BD3CE /* PBXTargetDependency */,
152E47C926A5B7C2009BD3CE /* PBXTargetDependency */,
);
name = CLEAN_ALL_iOS;
productName = "libetpan-dependencies_macOS";
};
1585EE16269DCEA600B822E1 /* build-pEpMIME-dependencies_macOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 1585EE17269DCEA600B822E1 /* Build configuration list for PBXAggregateTarget "build-pEpMIME-dependencies_macOS" */;
@ -160,9 +173,9 @@
name = "build_build-macOSAdapter";
productName = "libetpan-dependencies_macOS";
};
1585EEFC26A0432A00B822E1 /* CLEAN_ALL */ = {
1585EEFC26A0432A00B822E1 /* CLEAN_ALL_macOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 1585EF0226A0432A00B822E1 /* Build configuration list for PBXAggregateTarget "CLEAN_ALL" */;
buildConfigurationList = 1585EF0226A0432A00B822E1 /* Build configuration list for PBXAggregateTarget "CLEAN_ALL_macOS" */;
buildPhases = (
1585EF0126A0432A00B822E1 /* Build */,
);
@ -170,7 +183,7 @@
1585EEFD26A0432A00B822E1 /* PBXTargetDependency */,
1585EEFF26A0432A00B822E1 /* PBXTargetDependency */,
);
name = CLEAN_ALL;
name = CLEAN_ALL_macOS;
productName = "libetpan-dependencies_macOS";
};
1585EF0526A0479800B822E1 /* build_sequoia_iOS */ = {
@ -225,6 +238,20 @@
/* End PBXAggregateTarget section */
/* Begin PBXContainerItemProxy section */
152E47C826A5B7C2009BD3CE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585EE0B269DC6DD00B822E1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 1585EEA5269EDA1E00B822E1;
remoteInfo = build_asn1cexecutable;
};
152E47CA26A5B7C2009BD3CE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585EE0B269DC6DD00B822E1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 1585EECA269EF0F100B822E1;
remoteInfo = build_sequoia_macOS;
};
1585EE35269EC8DD00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585EE0B269DC6DD00B822E1 /* Project object */;
@ -421,14 +448,34 @@
1585EE16269DCEA600B822E1 /* build-pEpMIME-dependencies_macOS */,
1585EFAF26A178FE00B822E1 /* build-downloadclient-dependencies_macOS */,
1585F04A26A1D2BE00B822E1 /* build-pEp4ThunderbirdInstaller-dependencies_macOS */,
1585EEFC26A0432A00B822E1 /* CLEAN_ALL */,
1585EEFC26A0432A00B822E1 /* CLEAN_ALL_macOS */,
1585F04126A1C14C00B822E1 /* CLEAN_PEP */,
1585EF0526A0479800B822E1 /* build_sequoia_iOS */,
152E47C626A5B7C2009BD3CE /* CLEAN_ALL_iOS */,
);
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
152E47CB26A5B7C2009BD3CE /* Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = Build;
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = "SCRIPTS_DIR=\"${PROJECT_DIR}/..\"\nPREFIX=\"${PROJECT_DIR}/$(${SCRIPTS_DIR}/get-config-prefix.sh)\"\nBUILD_SCRIPT=\"${SCRIPTS_DIR}/clean_all_iOS.sh\" \nsh \"${BUILD_SCRIPT}\" \"${PREFIX}\"\n";
showEnvVarsInLog = 0;
};
1585EE28269DD87700B822E1 /* Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@ -654,7 +701,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = "SCRIPTS_DIR=\"${PROJECT_DIR}/..\"\nPREFIX=\"${PROJECT_DIR}/$(${SCRIPTS_DIR}/get-config-prefix.sh)\"\nBUILD_SCRIPT=\"${SCRIPTS_DIR}/clean_all.sh\" \nsh \"${BUILD_SCRIPT}\" \"${PREFIX}\"\n";
shellScript = "SCRIPTS_DIR=\"${PROJECT_DIR}/..\"\nPREFIX=\"${PROJECT_DIR}/$(${SCRIPTS_DIR}/get-config-prefix.sh)\"\nBUILD_SCRIPT=\"${SCRIPTS_DIR}/clean_all_macOS.sh\" \nsh \"${BUILD_SCRIPT}\" \"${PREFIX}\"\n";
showEnvVarsInLog = 0;
};
1585EF0626A0479800B822E1 /* Build */ = {
@ -698,6 +745,16 @@
/* End PBXShellScriptBuildPhase section */
/* Begin PBXTargetDependency section */
152E47C726A5B7C2009BD3CE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1585EEA5269EDA1E00B822E1 /* build_asn1cexecutable */;
targetProxy = 152E47C826A5B7C2009BD3CE /* PBXContainerItemProxy */;
};
152E47C926A5B7C2009BD3CE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1585EECA269EF0F100B822E1 /* build_sequoia_macOS */;
targetProxy = 152E47CA26A5B7C2009BD3CE /* PBXContainerItemProxy */;
};
1585EE36269EC8DD00B822E1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1585EE27269DD87700B822E1 /* build_libiconv_macOS */;
@ -806,6 +863,24 @@
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
152E47CD26A5B7C2009BD3CE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
152E47CE26A5B7C2009BD3CE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
1585EE0F269DC6DD00B822E1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -1145,6 +1220,15 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
152E47CC26A5B7C2009BD3CE /* Build configuration list for PBXAggregateTarget "CLEAN_ALL_iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
152E47CD26A5B7C2009BD3CE /* Debug */,
152E47CE26A5B7C2009BD3CE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1585EE0E269DC6DD00B822E1 /* Build configuration list for PBXProject "CommonPEPDependencies" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@ -1271,7 +1355,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1585EF0226A0432A00B822E1 /* Build configuration list for PBXAggregateTarget "CLEAN_ALL" */ = {
1585EF0226A0432A00B822E1 /* Build configuration list for PBXAggregateTarget "CLEAN_ALL_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1585EF0326A0432A00B822E1 /* Debug */,


+ 4
- 4
CommonPEPDependencies/CommonPEPDependencies.xcodeproj/xcshareddata/xcschemes/CLEAN_ALL.xcscheme View File

@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1585EEFC26A0432A00B822E1"
BuildableName = "CLEAN_ALL"
BlueprintName = "CLEAN_ALL"
BuildableName = "CLEAN_ALL_macOS"
BlueprintName = "CLEAN_ALL_macOS"
ReferencedContainer = "container:CommonPEPDependencies.xcodeproj">
</BuildableReference>
</BuildActionEntry>
@ -51,8 +51,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1585EEFC26A0432A00B822E1"
BuildableName = "CLEAN_ALL"
BlueprintName = "CLEAN_ALL"
BuildableName = "CLEAN_ALL_macOS"
BlueprintName = "CLEAN_ALL_macOS"
ReferencedContainer = "container:CommonPEPDependencies.xcodeproj">
</BuildableReference>
</MacroExpansion>


+ 24
- 0
clean_all_iOS.sh View File

@ -0,0 +1,24 @@
# Exit on errors
set -e
SCRIPT_DIR=$(dirname "$0")
PREFIX=$1
# Get Absolute Paths & Setup
SCRIPT_DIR=$(dirname "$0")
pushd "${SCRIPT_DIR}"
SCRIPT_DIR=$(pwd)
popd
if [ "${PREFIX}" = "" ]; then
PREFIX="${SCRIPT_DIR}/local"
fi
if [ -d "${PREFIX}" ]; then
pushd "${PREFIX}"
PREFIX=$(pwd)
popd
fi
TMP_DIR="${SCRIPT_DIR}/tmp"
rm -rf "${PREFIX}"
rm -rf "${TMP_DIR}"

clean_all.sh → clean_all_macOS.sh View File


Loading…
Cancel
Save