Skip to content

Commit b99d862

Browse files
committed
Rename again
1 parent 4d0ad32 commit b99d862

186 files changed

Lines changed: 913 additions & 913 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Example/Todo.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
DE3F47E12E64A90B00F4A251 /* Otter in Frameworks */ = {isa = PBXBuildFile; productRef = DE3F47E02E64A90B00F4A251 /* Otter */; };
10+
DE3F47E12E64A90B00F4A251 /* PureSQL in Frameworks */ = {isa = PBXBuildFile; productRef = DE3F47E02E64A90B00F4A251 /* PureSQL */; };
1111
/* End PBXBuildFile section */
1212

1313
/* Begin PBXContainerItemProxy section */
@@ -43,7 +43,7 @@
4343
isa = PBXFrameworksBuildPhase;
4444
buildActionMask = 2147483647;
4545
files = (
46-
DE3F47E12E64A90B00F4A251 /* Otter in Frameworks */,
46+
DE3F47E12E64A90B00F4A251 /* PureSQL in Frameworks */,
4747
);
4848
runOnlyForDeploymentPostprocessing = 0;
4949
};
@@ -96,7 +96,7 @@
9696
);
9797
name = Todo;
9898
packageProductDependencies = (
99-
DE3F47E02E64A90B00F4A251 /* Otter */,
99+
DE3F47E02E64A90B00F4A251 /* PureSQL */,
100100
);
101101
productName = Todo;
102102
productReference = DE3F3E2B2E5FBE5800F4A251 /* Todo.app */;
@@ -154,7 +154,7 @@
154154
mainGroup = DE3F3E222E5FBE5800F4A251;
155155
minimizedProjectReferenceProxies = 1;
156156
packageReferences = (
157-
DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../Otter" */,
157+
DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../PureSQL" */,
158158
);
159159
preferredProjectObjectVersion = 77;
160160
productRefGroup = DE3F3E2C2E5FBE5800F4A251 /* Products */;
@@ -209,7 +209,7 @@
209209
};
210210
DE5433DF2E64A9D400736214 /* PBXTargetDependency */ = {
211211
isa = PBXTargetDependency;
212-
productRef = DE5433DE2E64A9D400736214 /* OtterPlugin */;
212+
productRef = DE5433DE2E64A9D400736214 /* PureSQLPlugin */;
213213
};
214214
/* End PBXTargetDependency section */
215215

@@ -462,21 +462,21 @@
462462
/* End XCConfigurationList section */
463463

464464
/* Begin XCLocalSwiftPackageReference section */
465-
DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../Otter" */ = {
465+
DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../PureSQL" */ = {
466466
isa = XCLocalSwiftPackageReference;
467-
relativePath = ../../Otter;
467+
relativePath = ../../PureSQL;
468468
};
469469
/* End XCLocalSwiftPackageReference section */
470470

471471
/* Begin XCSwiftPackageProductDependency section */
472-
DE3F47E02E64A90B00F4A251 /* Otter */ = {
472+
DE3F47E02E64A90B00F4A251 /* PureSQL */ = {
473473
isa = XCSwiftPackageProductDependency;
474-
productName = Otter;
474+
productName = PureSQL;
475475
};
476-
DE5433DE2E64A9D400736214 /* OtterPlugin */ = {
476+
DE5433DE2E64A9D400736214 /* PureSQLPlugin */ = {
477477
isa = XCSwiftPackageProductDependency;
478-
package = DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../Otter" */;
479-
productName = "plugin:OtterPlugin";
478+
package = DE3F47DF2E64A90B00F4A251 /* XCLocalSwiftPackageReference "../../PureSQL" */;
479+
productName = "plugin:PureSQLPlugin";
480480
};
481481
/* End XCSwiftPackageProductDependency section */
482482
};

Example/Todo/TodoList.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import SwiftUI
9-
import Otter
9+
import PureSQL
1010

1111
struct TodoList: View {
1212
@State var model: TodoListModel

Example/TodoTests/TodoFormTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Testing
9-
import Otter
9+
import PureSQL
1010

1111
@testable import Todo
1212

Example/TodoTests/TodoListTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Testing
9-
import Otter
9+
import PureSQL
1010

1111
@testable import Todo
1212

Package.swift

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ import CompilerPluginSupport
55
import PackageDescription
66

77
let package = Package(
8-
name: "Otter",
8+
name: "PureSQL",
99
platforms: [
1010
.macOS(.v10_15),
1111
.iOS(.v13),
1212
.tvOS(.v13),
1313
.watchOS(.v6),
14-
.macCatalyst(.v13)
14+
.macCatalyst(.v13),
1515
],
1616
products: [
17-
.library(name: "Otter", targets: ["Otter"]),
17+
.library(name: "PureSQL", targets: ["PureSQL"]),
1818
.library(name: "Compiler", targets: ["Compiler"]),
19-
.executable(name: "OtterCLI", targets: ["OtterCLI"]),
20-
.plugin(name: "OtterPlugin", targets: ["OtterPlugin"])
19+
.executable(name: "PureSQLCLI", targets: ["PureSQLCLI"]),
20+
.plugin(name: "PureSQLPlugin", targets: ["PureSQLPlugin"]),
2121
],
2222
dependencies: [
2323
.package(url: "https://github.com/swiftlang/swift-syntax", from: "600.0.0-latest"),
@@ -27,7 +27,7 @@ let package = Package(
2727
],
2828
targets: [
2929
.macro(
30-
name: "OtterMacros",
30+
name: "PureSQLMacros",
3131
dependencies: [
3232
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
3333
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
@@ -36,9 +36,9 @@ let package = Package(
3636
),
3737

3838
.target(
39-
name: "Otter",
39+
name: "PureSQL",
4040
dependencies: [
41-
"OtterMacros",
41+
"PureSQLMacros",
4242
.product(name: "Collections", package: "swift-collections"),
4343
]
4444
),
@@ -54,22 +54,22 @@ let package = Package(
5454
),
5555

5656
.executableTarget(
57-
name: "OtterCLI",
57+
name: "PureSQLCLI",
5858
dependencies: [
5959
"Compiler",
6060
.product(name: "ArgumentParser", package: "swift-argument-parser"),
6161
]
6262
),
63-
63+
6464
.plugin(
65-
name: "OtterPlugin",
65+
name: "PureSQLPlugin",
6666
capability: .buildTool(),
67-
dependencies: ["OtterCLI"]
67+
dependencies: ["PureSQLCLI"]
6868
),
6969

7070
.testTarget(
71-
name: "OtterTests",
72-
dependencies: ["Otter", "Compiler"]
71+
name: "PureSQLTests",
72+
dependencies: ["PureSQL", "Compiler"]
7373
),
7474

7575
.testTarget(

PluginTests/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ let package = Package(
1111
targets: [
1212
.executableTarget(
1313
name: "PluginTests",
14-
dependencies: ["Otter"],
15-
plugins: [.plugin(name: "OtterPlugin", package: "Otter")]
14+
dependencies: ["PureSQL"],
15+
plugins: [.plugin(name: "PureSQLPlugin", package: "PureSQL")]
1616
),
1717
]
1818
)

PluginTests/Sources/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Otter
1+
import PureSQL
22

33
let db = try DB.inMemory()
44

Plugins/OtterPlugin/OtterPlugin.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
2-
// OtterPlugin.swift
3-
// Otter
2+
// PureSQLPlugin.swift
3+
// PureSQL
44
//
55
// Created by Wes Wickwire on 8/11/25.
66
//
@@ -9,15 +9,15 @@ import PackagePlugin
99
import Foundation
1010

1111
@main
12-
struct OtterPlugin: BuildToolPlugin {
12+
struct PureSQLPlugin: BuildToolPlugin {
1313
func createBuildCommands(
1414
context: PluginContext,
1515
target: Target
1616
) throws -> [Command] {
1717
return [
1818
createBuildCommand(
1919
projectRoot: context.package.directoryURL,
20-
cliToolURL: try context.tool(named: "OtterCLI").url,
20+
cliToolURL: try context.tool(named: "PureSQLCLI").url,
2121
sourceFiles: target.sourceModule?.sourceFiles,
2222
workDirectory: context.pluginWorkDirectoryURL
2323
)
@@ -33,7 +33,7 @@ struct OtterPlugin: BuildToolPlugin {
3333
let queries = workDirectory.appending(component: "Queries.swift")
3434

3535
return .buildCommand(
36-
displayName: "Running otter generate",
36+
displayName: "Running puresql generate",
3737
executable: cliToolURL,
3838
arguments: [
3939
"generate",
@@ -55,15 +55,15 @@ struct OtterPlugin: BuildToolPlugin {
5555
#if canImport(XcodeProjectPlugin)
5656
import XcodeProjectPlugin
5757

58-
extension OtterPlugin: XcodeBuildToolPlugin {
58+
extension PureSQLPlugin: XcodeBuildToolPlugin {
5959
func createBuildCommands(
6060
context: XcodePluginContext,
6161
target: XcodeTarget
6262
) throws -> [Command] {
6363
return [
6464
createBuildCommand(
6565
projectRoot: context.xcodeProject.directoryURL,
66-
cliToolURL: try context.tool(named: "OtterCLI").url,
66+
cliToolURL: try context.tool(named: "PureSQLCLI").url,
6767
sourceFiles: target.inputFiles,
6868
workDirectory: context.pluginWorkDirectoryURL
6969
)

0 commit comments

Comments
 (0)