Skip to content

Commit d814d88

Browse files
authored
Adding support for setting up a workspace to make framework development more integrated (#508)
1 parent a88be08 commit d814d88

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ RemoteSettings.plist
7070
# OS
7171
.DS_Store
7272

73+
# Framework development
74+
Loop.xcworkspace

Loop.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@
14261426
);
14271427
runOnlyForDeploymentPostprocessing = 0;
14281428
shellPath = /bin/sh;
1429-
shellScript = "# /usr/local/bin/carthage build --platform \"$PLATFORM_NAME\" \"$SRCROOT\"\n/usr/local/bin/carthage copy-frameworks";
1429+
shellScript = "# /usr/local/bin/carthage build --platform \"$PLATFORM_NAME\" \"$SRCROOT\"\n# Only run this script if we're not using a workspace or installing\nif [ ! -d $PROJECT_DIR/Loop.xcworkspace ] || [ \"$ACTION\" = \"install\" ]; then\n /usr/local/bin/carthage copy-frameworks\nfi";
14301430
};
14311431
/* End PBXShellScriptBuildPhase section */
14321432

0 commit comments

Comments
 (0)