Skip to content
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0106c19
Make pfw testable.
mbrandonw Jan 25, 2026
4e958cf
wip
mbrandonw Jan 25, 2026
5a4c419
wip
mbrandonw Jan 25, 2026
9623250
tests for login
mbrandonw Jan 25, 2026
1353703
more tests
mbrandonw Jan 25, 2026
2fa7d76
improve file system
mbrandonw Jan 25, 2026
91f7fb4
wip
mbrandonw Jan 25, 2026
b135b89
getting closer to install tests
mbrandonw Jan 25, 2026
7986079
support symlinks in FileSystem
mbrandonw Jan 25, 2026
b803cc3
tests for install
mbrandonw Jan 26, 2026
e8b1fa0
require either tool or path
mbrandonw Jan 26, 2026
fd9d370
more install tests
mbrandonw Jan 26, 2026
09715da
fix assertCommandThrows
mbrandonw Jan 26, 2026
93114cf
fix tests
mbrandonw Jan 26, 2026
5f34084
tests for expired token
mbrandonw Jan 26, 2026
ceadfff
clean up
mbrandonw Jan 26, 2026
67d1ffa
ds store
mbrandonw Jan 26, 2026
5b3d47e
delete ds store
mbrandonw Jan 26, 2026
6280edf
moved test dependencies to test target
mbrandonw Jan 26, 2026
19c5b41
wip
mbrandonw Jan 26, 2026
0407847
require instead of force unwrap
mbrandonw Jan 26, 2026
8d56e09
missing imports
mbrandonw Jan 26, 2026
95aca8e
fix auth dependency
mbrandonw Jan 26, 2026
18aaa3f
format
mbrandonw Jan 26, 2026
3a51864
test and format in ci
mbrandonw Jan 26, 2026
ed350fb
linux fix
mbrandonw Jan 26, 2026
9b52fc5
test only
mbrandonw Jan 26, 2026
3e7a14e
more linux fixes
mbrandonw Jan 26, 2026
5a74e17
another linux fix
mbrandonw Jan 26, 2026
652ed50
format
mbrandonw Jan 26, 2026
5ce263f
format
mbrandonw Jan 26, 2026
5d8c597
linux fix
mbrandonw Jan 26, 2026
f4e1c7b
format fix
mbrandonw Jan 26, 2026
06e4574
bring back nonisolated nonsending
mbrandonw Jan 26, 2026
818f6c9
wip
mbrandonw Jan 26, 2026
589b625
linux fix
mbrandonw Jan 26, 2026
7a9c1d6
nonisolated nonsending by default
mbrandonw Jan 26, 2026
ce62fdb
build only for linux
mbrandonw Jan 26, 2026
34a55b2
Fixes for Claude.
mbrandonw Jan 26, 2026
3efae19
fixes
mbrandonw Jan 26, 2026
b8a3ab9
better contentsOfDirectory test
mbrandonw Jan 26, 2026
4ff68b2
wip
mbrandonw Jan 26, 2026
02636a9
support tilde paths
mbrandonw Jan 26, 2026
a10a518
wip
mbrandonw Jan 27, 2026
36331be
wip
stephencelis Jan 28, 2026
c3871b9
Merge branch 'tests' into claude-fix
stephencelis Jan 28, 2026
b65a432
wip
stephencelis Jan 28, 2026
546445b
Merge remote-tracking branch 'origin/main' into claude-fix
mbrandonw Jan 28, 2026
4960fc9
wip
mbrandonw Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- uses: actions/checkout@v5
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Build
run: swift build
- name: Test
run: swift test

linux:
name: Linux
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Format

on:
push:
branches:
- main
- tests

concurrency:
group: format-${{ github.ref }}
cancel-in-progress: true

jobs:
swift_format:
name: swift-format
runs-on: macos-15
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Select Xcode 26.2
run: sudo xcode-select -s /Applications/Xcode_26.2.app
- name: Format
run: make format
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Run swift-format
branch: 'main'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

*.DS_STORE
96 changes: 96 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/pfw.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "2620"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "pfw"
BuildableName = "pfw"
BlueprintName = "pfw"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "pfwTests"
BuildableName = "pfwTests"
BlueprintName = "pfwTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "pfw"
BuildableName = "pfw"
BlueprintName = "pfw"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "--version"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "pfw"
BuildableName = "pfw"
BlueprintName = "pfw"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
format:
swift format . --recursive --in-place
find README.md Sources -name '*.md' -exec sed -i '' -e 's/ *$$//g' {} \;

.PHONY: format
74 changes: 73 additions & 1 deletion Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 26 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,40 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.0.0"),
.package(url: "https://github.com/weichsel/ZIPFoundation", from: "0.9.20"),
],
targets: [
.executableTarget(
name: "pfw",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "ZIPFoundation", package: "ZIPFoundation")
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras"),
.product(name: "CustomDump", package: "swift-custom-dump"),
.product(name: "Dependencies", package: "swift-dependencies"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
],
swiftSettings: [
.enableUpcomingFeature("NonisolatedNonsendingByDefault")
]
)
),
.testTarget(
name: "pfwTests",
dependencies: [
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras"),
.product(name: "CustomDump", package: "swift-custom-dump"),
.product(name: "Dependencies", package: "swift-dependencies"),
.product(name: "DependenciesTestSupport", package: "swift-dependencies"),
.product(name: "InlineSnapshotTesting", package: "swift-snapshot-testing"),
"pfw",
],
swiftSettings: [
.enableUpcomingFeature("NonisolatedNonsendingByDefault")
]
),
],
swiftLanguageModes: [.v6]
)
Loading