Skip to content

Commit

Permalink
Fix SwiftScripts builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev committed Apr 13, 2021
1 parent b0612c2 commit d64fcdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ scripts/apollo.tar.gz
SwiftScripts/ApolloCLI
Tests/ApolloCodegenTests/scripts
Tests/ApolloCodegenTests/scripts directory
SwiftScripts/.build-**
8 changes: 4 additions & 4 deletions Apollo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1051,9 +1051,9 @@
9B2061162591B3550020D1E0 /* Resources */ = {
isa = PBXGroup;
children = (
9B2061172591B3550020D1E0 /* c.txt */,
9B2061182591B3550020D1E0 /* b.txt */,
9B2061192591B3550020D1E0 /* a.txt */,
9B2061182591B3550020D1E0 /* b.txt */,
9B2061172591B3550020D1E0 /* c.txt */,
);
path = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -2505,7 +2505,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run Codegen -t \"GitHub\"\n";
shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run --build-path \"./.build-GitHub\" Codegen -t \"GitHub\"\n";
};
9FCE2D061E6C251100E34457 /* Generate Apollo Client API */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -2519,7 +2519,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run Codegen -t \"StarWars\"\n";
shellScript = "cd \"${SRCROOT}/SwiftScripts\"\nxcrun -sdk macosx swift run --build-path \"./.build-StarWars\" Codegen -t \"StarWars\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down

0 comments on commit d64fcdc

Please sign in to comment.