Skip to content

Commit

Permalink
install mockolo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurrium committed Apr 26, 2022
1 parent f48dc4a commit 9d61373
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
36 changes: 36 additions & 0 deletions BuildTools/Package.resolved
@@ -1,6 +1,42 @@
{
"object": {
"pins": [
{
"package": "Mockolo",
"repositoryURL": "https://github.com/uber/mockolo.git",
"state": {
"branch": null,
"revision": "90001b16b348ae632192d5d331610b0c18a8f12a",
"version": "1.7.0"
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "e394bf350e38cb100b6bc4172834770ede1b7232",
"version": "1.0.3"
}
},
{
"package": "SwiftSyntax",
"repositoryURL": "https://github.com/apple/swift-syntax.git",
"state": {
"branch": null,
"revision": "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
"version": "0.50600.1"
}
},
{
"package": "swift-tools-support-core",
"repositoryURL": "https://github.com/apple/swift-tools-support-core.git",
"state": {
"branch": null,
"revision": "3b6b97d612b56e25d80d0807f5bc38ea08b7bdf3",
"version": "0.2.3"
}
},
{
"package": "SwiftFormat",
"repositoryURL": "https://github.com/nicklockwood/SwiftFormat",
Expand Down
19 changes: 19 additions & 0 deletions Komusou.xcodeproj/project.pbxproj
Expand Up @@ -205,6 +205,7 @@
isa = PBXNativeTarget;
buildConfigurationList = E3178D7927D379730000DB0F /* Build configuration list for PBXNativeTarget "KomusouTests" */;
buildPhases = (
E37CE6AB281810EF00EDFA19 /* Generate Mocks */,
E3178D5E27D379730000DB0F /* Sources */,
E3178D5F27D379730000DB0F /* Frameworks */,
E3178D6027D379730000DB0F /* Resources */,
Expand Down Expand Up @@ -327,6 +328,24 @@
shellPath = /bin/sh;
shellScript = "SDKROOT=(xcrun --sdk macosx --show-sdk-path)\n#swift package update #Uncomment this line temporarily to update the version used to the latest matching your BuildTools/Package.swift file\nswift run -c release --package-path BuildTools swiftformat \"$SRCROOT\" --swiftversion 5.0 --config .swiftformat\n";
};
E37CE6AB281810EF00EDFA19 /* Generate Mocks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Generate Mocks";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "SDKROOT=(xcrun --sdk macosx --show-sdk-path)\n\nswift run -c release --package-path BuildTools mockolo -s \"$SRCROOT\" -d Mocks.swift\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down

0 comments on commit 9d61373

Please sign in to comment.