File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
WooCommerce/WooCommerce.xcodeproj Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash -eu
2+
3+ if [ " ${CONFIGURATION} " != " Release" ]; then
4+ echo " info: Skipping Wormholy removal – not a Release build."
5+ exit 0
6+ fi
7+
8+ BUILT_PRODUCTS_DIR=${BUILT_PRODUCTS_DIR:- " $TARGET_BUILD_DIR " }
9+
10+ # Crude way to remove all the Wormholy files from the build.
11+ rm -rf " $BUILT_PRODUCTS_DIR /Wormholy*"
Original file line number Diff line number Diff line change 1448714487 B5650B1020A4CD7F009702D0 /* Embed Frameworks */,
1448814488 3F1FA85028B60126009E246C /* Embed Foundation Extensions */,
1448914489 26F81B232BE433A4009EC58E /* Embed Watch Content */,
14490+ 3F76AD982E0A849700984880 /* Strip Wormholy from Release build */,
1449014491 );
1449114492 buildRules = (
1449214493 );
1507615077 shellScript = "\"$SRCROOT/../Scripts/build-phases/LintAppLocalizedStringsUsage.sh\"\n";
1507715078 showEnvVarsInLog = 0;
1507815079 };
15080+ 3F76AD982E0A849700984880 /* Strip Wormholy from Release build */ = {
15081+ isa = PBXShellScriptBuildPhase;
15082+ buildActionMask = 2147483647;
15083+ files = (
15084+ );
15085+ inputFileListPaths = (
15086+ );
15087+ inputPaths = (
15088+ );
15089+ name = "Strip Wormholy from Release build";
15090+ outputFileListPaths = (
15091+ );
15092+ outputPaths = (
15093+ );
15094+ runOnlyForDeploymentPostprocessing = 0;
15095+ shellPath = /bin/sh;
15096+ shellScript = "$SRCROOT/../Scripts/build-phases/strip-wormholy-from-release.sh\n";
15097+ };
1507915098 57CCFFD4249D2A5700825FCF /* SwiftLint */ = {
1508015099 isa = PBXShellScriptBuildPhase;
1508115100 buildActionMask = 2147483647;
You can’t perform that action at this time.
0 commit comments