Skip to content

Commit 30027ef

Browse files
committed
Merge branch 'develop'
2 parents aea25de + ba57ba8 commit 30027ef

26 files changed

+256
-897
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1640"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "ATMacro"
19+
BuildableName = "ATMacro"
20+
BlueprintName = "ATMacro"
21+
ReferencedContainer = "container:">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
<BuildActionEntry
25+
buildForTesting = "YES"
26+
buildForRunning = "YES"
27+
buildForProfiling = "YES"
28+
buildForArchiving = "YES"
29+
buildForAnalyzing = "YES">
30+
<BuildableReference
31+
BuildableIdentifier = "primary"
32+
BlueprintIdentifier = "ATProtoKit"
33+
BuildableName = "ATProtoKit"
34+
BlueprintName = "ATProtoKit"
35+
ReferencedContainer = "container:">
36+
</BuildableReference>
37+
</BuildActionEntry>
38+
</BuildActionEntries>
39+
</BuildAction>
40+
<TestAction
41+
buildConfiguration = "Debug"
42+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
43+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
44+
shouldUseLaunchSchemeArgsEnv = "YES"
45+
shouldAutocreateTestPlan = "YES">
46+
</TestAction>
47+
<LaunchAction
48+
buildConfiguration = "Debug"
49+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
50+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
51+
launchStyle = "0"
52+
useCustomWorkingDirectory = "NO"
53+
ignoresPersistentStateOnLaunch = "NO"
54+
debugDocumentVersioning = "YES"
55+
debugServiceExtension = "internal"
56+
allowLocationSimulation = "YES">
57+
</LaunchAction>
58+
<ProfileAction
59+
buildConfiguration = "Release"
60+
shouldUseLaunchSchemeArgsEnv = "YES"
61+
savedToolIdentifier = ""
62+
useCustomWorkingDirectory = "NO"
63+
debugDocumentVersioning = "YES">
64+
<MacroExpansion>
65+
<BuildableReference
66+
BuildableIdentifier = "primary"
67+
BlueprintIdentifier = "ATMacro"
68+
BuildableName = "ATMacro"
69+
BlueprintName = "ATMacro"
70+
ReferencedContainer = "container:">
71+
</BuildableReference>
72+
</MacroExpansion>
73+
</ProfileAction>
74+
<AnalyzeAction
75+
buildConfiguration = "Debug">
76+
</AnalyzeAction>
77+
<ArchiveAction
78+
buildConfiguration = "Release"
79+
revealArchiveInOrganizer = "YES">
80+
</ArchiveAction>
81+
</Scheme>
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1640"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "ATProtoKit"
19+
BuildableName = "ATProtoKit"
20+
BlueprintName = "ATProtoKit"
21+
ReferencedContainer = "container:">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES"
31+
shouldAutocreateTestPlan = "YES">
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
</LaunchAction>
44+
<ProfileAction
45+
buildConfiguration = "Release"
46+
shouldUseLaunchSchemeArgsEnv = "YES"
47+
savedToolIdentifier = ""
48+
useCustomWorkingDirectory = "NO"
49+
debugDocumentVersioning = "YES">
50+
<MacroExpansion>
51+
<BuildableReference
52+
BuildableIdentifier = "primary"
53+
BlueprintIdentifier = "ATProtoKit"
54+
BuildableName = "ATProtoKit"
55+
BlueprintName = "ATProtoKit"
56+
ReferencedContainer = "container:">
57+
</BuildableReference>
58+
</MacroExpansion>
59+
</ProfileAction>
60+
<AnalyzeAction
61+
buildConfiguration = "Debug">
62+
</AnalyzeAction>
63+
<ArchiveAction
64+
buildConfiguration = "Release"
65+
revealArchiveInOrganizer = "YES">
66+
</ArchiveAction>
67+
</Scheme>

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["swiftlang.swift-vscode"]
3+
}

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "swift",
5+
"request": "launch",
6+
"args": [],
7+
"cwd": "${workspaceFolder:ATProtoKit}",
8+
"name": "Debug ATProtoKit",
9+
"program": "${workspaceFolder:atprotokit-website}/.build/debug/ATProtoKit",
10+
"preLaunchTask": "swift: Build Debug ATProtoKit"
11+
},
12+
{
13+
"type": "swift",
14+
"request": "launch",
15+
"args": [],
16+
"cwd": "${workspaceFolder:ATProtoKit}",
17+
"name": "Release ATProtoKit",
18+
"program": "${workspaceFolder:atprotokit-website}/.build/release/ATProtoKit",
19+
"preLaunchTask": "swift: Build Release ATProtoKit"
20+
}
21+
]
22+
}

Package.resolved

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,43 +17,22 @@ let package = Package(
1717
// Products define the executables and libraries a package produces, making them visible to other packages.
1818
.library(
1919
name: "ATProtoKit",
20-
targets: ["ATProtoKit"]),
21-
.library(
22-
name: "ATMacro",
23-
targets: ["ATMacro"]
24-
)
20+
targets: ["ATProtoKit"])
2521
],
2622
dependencies: [
2723
.package(url: "https://github.com/swiftlang/swift-docc-plugin.git", from: "1.4.0"),
28-
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"),
29-
.package(url: "https://github.com/swiftlang/swift-syntax.git", "509.0.0" ..< "601.0.0-prerelease")
24+
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0")
3025
],
3126
targets: [
3227
// Targets are the basic building blocks of a package, defining a module or a test suite.
3328
// Targets can depend on other targets in this package and products from dependencies.
3429
.target(
3530
name: "ATProtoKit",
3631
dependencies: [
37-
"ATMacro",
3832
.product(name: "Logging", package: "swift-log")
3933
]
4034
// plugins: ["VersionNumberPlugin"]
4135
),
42-
43-
// Macro implementation that performs the source transformations
44-
.macro(
45-
name: "Macros",
46-
dependencies: [
47-
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
48-
.product(name: "SwiftCompilerPlugin", package: "swift-syntax")
49-
]
50-
),
51-
.target(
52-
name: "ATMacro",
53-
dependencies: [
54-
"Macros"
55-
]
56-
)
5736
// .executableTarget(name: "VersionNumberPluginExec"),
5837
// .plugin(
5938
// name: "VersionNumberPlugin",

[email protected]

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,21 @@ let package = Package(
1717
// Products define the executables and libraries a package produces, making them visible to other packages.
1818
.library(
1919
name: "ATProtoKit",
20-
targets: ["ATProtoKit"]),
21-
.library(
22-
name: "ATMacro",
23-
targets: ["ATMacro"]
24-
)
20+
targets: ["ATProtoKit"])
2521
],
2622
dependencies: [
2723
.package(url: "https://github.com/swiftlang/swift-docc-plugin.git", from: "1.4.0"),
28-
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"),
29-
.package(url: "https://github.com/swiftlang/swift-syntax.git", "509.0.0" ..< "601.0.0-prerelease")
24+
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0")
3025
],
3126
targets: [
3227
// Targets are the basic building blocks of a package, defining a module or a test suite.
3328
// Targets can depend on other targets in this package and products from dependencies.
3429
.target(
3530
name: "ATProtoKit",
3631
dependencies: [
37-
"ATMacro",
3832
.product(name: "Logging", package: "swift-log")
3933
]
4034
),
41-
42-
// Macro implementation that performs the source transformations
43-
.macro(
44-
name: "Macros",
45-
dependencies: [
46-
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
47-
.product(name: "SwiftCompilerPlugin", package: "swift-syntax")
48-
]
49-
),
50-
.target(
51-
name: "ATMacro",
52-
dependencies: [
53-
"Macros"
54-
]
55-
)
5635
// .plugin(
5736
// name: "VersionNumberPlugin",
5837
// capability: .buildTool(),

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ I believe Bluesky and its accompanying AT Protocol gives the perfect balance bet
7777
You can use the Swift Package Manager to download and import the library into your project:
7878
```swift
7979
dependencies: [
80-
.package(url: "https://github.com/MasterJ93/ATProtoKit.git", from: "0.31.0")
80+
.package(url: "https://github.com/MasterJ93/ATProtoKit.git", from: "0.32.0")
8181
]
8282
```
8383

@@ -180,4 +180,3 @@ The documentation text used by Bluesky is licenced under the MIT Licence. Please
180180
The following Swift packages have been used to help run ATProtoKit:
181181
- [swift-docc-plugin](https://github.com/swiftlang/swift-docc-plugin) from [The Swift Programming Language](https://github.com/swiftlang).
182182
- [swift-log](https://github.com/apple/swift-log) from [Apple](https://github.com/apple).
183-
- [swift-syntax](https://github.com/swiftlang/swift-syntax) from [The Swift Programming Language](https://github.com/swiftlang).

Sources/ATMacro/ATMacro.swift

Lines changed: 0 additions & 91 deletions
This file was deleted.

Sources/ATProtoKit/APIReference/ComAtprotoAPI/ComAtprotoRepoDeleteRecordMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import FoundationNetworking
1212

1313
extension ATProtoKit {
1414

15-
/// Deletes a record attached to a user account..
15+
/// Deletes a record attached to a user account.
1616
///
1717
/// - Note: According to the AT Protocol specifications: "Delete a repository record, or
1818
/// ensure it doesn't exist. Requires auth, implemented by PDS."

0 commit comments

Comments
 (0)