From 7cc5b56af8b25f062db677aad9303c79837867e7 Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Mon, 24 Oct 2022 19:56:07 +0100 Subject: [PATCH 1/4] Gitignore .swiftpm folder --- .gitignore | 2 +- .../xcschemes/TextBuilder.xcscheme | 79 ------------------- 2 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 .swiftpm/xcode/xcshareddata/xcschemes/TextBuilder.xcscheme diff --git a/.gitignore b/.gitignore index bb460e7..4732bb3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .DS_Store /.build +/.swiftpm /Packages /*.xcodeproj xcuserdata/ DerivedData/ -.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/TextBuilder.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/TextBuilder.xcscheme deleted file mode 100644 index a5f6956..0000000 --- a/.swiftpm/xcode/xcshareddata/xcschemes/TextBuilder.xcscheme +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 56b0432e7438b8c24f7ca066f6f0af36b3258231 Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Mon, 24 Oct 2022 20:37:02 +0100 Subject: [PATCH 2/4] Use workspace --- .../contents.xcworkspacedata | 7 ++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++ .../xcshareddata/swiftpm/Package.resolved | 52 ++++++++++++ .../xcschemes/Benchmarks.xcscheme | 79 +++++++++++++++++++ .../xcschemes/TextBuilder.xcscheme | 77 ++++++++++++++++++ 5 files changed, 223 insertions(+) create mode 100644 TextBuilder.xcworkspace/contents.xcworkspacedata create mode 100644 TextBuilder.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 TextBuilder.xcworkspace/xcshareddata/swiftpm/Package.resolved create mode 100644 TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme create mode 100644 TextBuilder.xcworkspace/xcshareddata/xcschemes/TextBuilder.xcscheme diff --git a/TextBuilder.xcworkspace/contents.xcworkspacedata b/TextBuilder.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..ca3329e --- /dev/null +++ b/TextBuilder.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/TextBuilder.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/TextBuilder.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/TextBuilder.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/TextBuilder.xcworkspace/xcshareddata/swiftpm/Package.resolved b/TextBuilder.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..ffc35d9 --- /dev/null +++ b/TextBuilder.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,52 @@ +{ + "object": { + "pins": [ + { + "package": "swift-argument-parser", + "repositoryURL": "https://github.com/apple/swift-argument-parser", + "state": { + "branch": null, + "revision": "9f39744e025c7d377987f30b03770805dcb0bcd1", + "version": "1.1.4" + } + }, + { + "package": "Benchmark", + "repositoryURL": "https://github.com/google/swift-benchmark", + "state": { + "branch": null, + "revision": "8163295f6fe82356b0bcf8e1ab991645de17d096", + "version": "0.1.2" + } + }, + { + "package": "swift-builders", + "repositoryURL": "https://github.com/davdroman/swift-builders", + "state": { + "branch": null, + "revision": "66362934dac8ad0d243792d3190303ac769d2114", + "version": "0.3.0" + } + }, + { + "package": "swift-custom-dump", + "repositoryURL": "https://github.com/pointfreeco/swift-custom-dump", + "state": { + "branch": null, + "revision": "819d9d370cd721c9d87671e29d947279292e4541", + "version": "0.6.0" + } + }, + { + "package": "xctest-dynamic-overlay", + "repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay", + "state": { + "branch": null, + "revision": "16e6409ee82e1b81390bdffbf217b9c08ab32784", + "version": "0.5.0" + } + } + ] + }, + "version": 1 +} diff --git a/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme b/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme new file mode 100644 index 0000000..b4d2cdb --- /dev/null +++ b/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TextBuilder.xcworkspace/xcshareddata/xcschemes/TextBuilder.xcscheme b/TextBuilder.xcworkspace/xcshareddata/xcschemes/TextBuilder.xcscheme new file mode 100644 index 0000000..9a09c58 --- /dev/null +++ b/TextBuilder.xcworkspace/xcshareddata/xcschemes/TextBuilder.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From c383ba9e44146f470d295cfa325026532062c1bd Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Mon, 24 Oct 2022 20:53:47 +0100 Subject: [PATCH 3/4] Update dependencies --- Package.resolved | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Package.resolved b/Package.resolved index efe4353..ffc35d9 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/apple/swift-argument-parser", "state": { "branch": null, - "revision": "f3c9084a71ef4376f2fabbdf1d3d90a49f1fabdb", - "version": "1.1.2" + "revision": "9f39744e025c7d377987f30b03770805dcb0bcd1", + "version": "1.1.4" } }, { @@ -24,8 +24,8 @@ "repositoryURL": "https://github.com/davdroman/swift-builders", "state": { "branch": null, - "revision": "967729b6be0cc98496ce70e462932e8dc11e34e6", - "version": "0.2.0" + "revision": "66362934dac8ad0d243792d3190303ac769d2114", + "version": "0.3.0" } }, { @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/pointfreeco/swift-custom-dump", "state": { "branch": null, - "revision": "21ec1d717c07cea5a026979cb0471dd95c7087e7", - "version": "0.5.0" + "revision": "819d9d370cd721c9d87671e29d947279292e4541", + "version": "0.6.0" } }, { @@ -42,8 +42,8 @@ "repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay", "state": { "branch": null, - "revision": "50a70a9d3583fe228ce672e8923010c8df2deddd", - "version": "0.2.1" + "revision": "16e6409ee82e1b81390bdffbf217b9c08ab32784", + "version": "0.5.0" } } ] From 433548a01e17470fa2d2d43eb6341b567c1322a6 Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Mon, 24 Oct 2022 20:54:12 +0100 Subject: [PATCH 4/4] Configure benchmarks scheme to be ran from Xcode --- .../xcshareddata/xcschemes/Benchmarks.xcscheme | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme b/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme index b4d2cdb..b7cb27d 100644 --- a/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme +++ b/TextBuilder.xcworkspace/xcshareddata/xcschemes/Benchmarks.xcscheme @@ -7,11 +7,11 @@ buildImplicitDependencies = "YES"> + buildForProfiling = "NO" + buildForArchiving = "NO" + buildForAnalyzing = "NO"> - + - +