File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 373
373
buildConfigurationList = B5F7BF621BA9C95F00A75099 /* Build configuration list for PBXNativeTarget "iCookTV" */;
374
374
buildPhases = (
375
375
24D096314DA4D14E4EDFA5EB /* [CP] Check Pods Manifest.lock */,
376
+ B52DFA9C1CF8006E005B9D67 /* Run Swiftlint */,
376
377
B5BA3B4A1CF6D19800B0A022 /* Run R.swift Script */,
377
378
B5F7BF441BA9C95F00A75099 /* Sources */,
378
- B52DFA9C1CF8006E005B9D67 /* Swiftlint */,
379
379
B5F7BF451BA9C95F00A75099 /* Frameworks */,
380
380
B5F7BF461BA9C95F00A75099 /* Resources */,
381
381
B51A95351CCDFFEB00E5ED97 /* Run Fabric Script */,
547
547
);
548
548
runOnlyForDeploymentPostprocessing = 0;
549
549
shellPath = /bin/sh;
550
- shellScript = "if [ \"$CONFIGURATION\" = \"Release\" ] && [ \"$CI\" != true ]; then\n FABRIC_APIKEY=$(cat $ {SRCROOT}/keys/ fabric.apikey);\n FABRIC_BUILDSECRET=$(cat ${SRCROOT}/keys/fabric.buildsecret);\n ${PODS_ROOT}/Fabric/run ${FABRIC_APIKEY} ${FABRIC_BUILDSECRET};\nelse\n echo \"Skip Fabric script\"\nfi ";
550
+ shellScript = "sh $ {SRCROOT}/scripts/set-up- fabric.sh ";
551
551
};
552
- B52DFA9C1CF8006E005B9D67 /* Swiftlint */ = {
552
+ B52DFA9C1CF8006E005B9D67 /* Run Swiftlint */ = {
553
553
isa = PBXShellScriptBuildPhase;
554
554
buildActionMask = 2147483647;
555
555
files = (
556
556
);
557
557
inputPaths = (
558
558
);
559
- name = Swiftlint;
559
+ name = "Run Swiftlint" ;
560
560
outputPaths = (
561
561
);
562
562
runOnlyForDeploymentPostprocessing = 0;
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ if [ " $CONFIGURATION " = " Release" ] && [ " $CI " != true ]; then
4
+ FABRIC_APIKEY=$( cat ${SRCROOT} /keys/fabric.apikey) ;
5
+ FABRIC_BUILDSECRET=$( cat ${SRCROOT} /keys/fabric.buildsecret) ;
6
+ ${PODS_ROOT} /Fabric/run ${FABRIC_APIKEY} ${FABRIC_BUILDSECRET} ;
7
+ else
8
+ echo " Skip Fabric setup"
9
+ fi
You can’t perform that action at this time.
0 commit comments