-
-
Notifications
You must be signed in to change notification settings - Fork 1
[breaking change] update to new SpeziStudy release #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,11 +27,9 @@ let package = Package( | |
| .executable(name: "MHCStudyDefinitionExporterCLI", targets: ["MHCStudyDefinitionExporterCLI"]) | ||
| ], | ||
| dependencies: [ | ||
| .package(url: "https://github.com/StanfordSpezi/SpeziStudy.git", .upToNextMinor(from: "0.1.19")), | ||
| .package(url: "https://github.com/StanfordSpezi/SpeziFoundation.git", from: "2.4.0"), | ||
| .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.6.2"), | ||
| // not used directly but we need to fix it below 0.9.0 for the time being | ||
| .package(url: "https://github.com/apple/FHIRModels.git", .upToNextMinor(from: "0.8.0")) | ||
| .package(url: "https://github.com/StanfordSpezi/SpeziStudy.git", revision: "e11803b1897930da7c374085606814e82622bdf3"), | ||
| .package(url: "https://github.com/StanfordSpezi/SpeziFoundation.git", from: "2.7.7"), | ||
| .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.6.2") | ||
|
Comment on lines
+30
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Yes—any package’s manifest can express a revision-based dependency, not only the root package. In SwiftPM, a dependency requirement can be a Git revision via Citations:
Avoid pinning SwiftPM allows revision-based dependency requirements in any package manifest, so this won’t inherently prevent versioned consumers from resolving your package. Still, pinning 🤖 Prompt for AI Agents |
||
| ], | ||
| targets: [ | ||
| .target( | ||
|
|
@@ -54,8 +52,7 @@ let package = Package( | |
| .copy("Resources/article"), | ||
| .copy("Resources/questionnaire"), | ||
| .copy("Resources/hhdExplainer") | ||
| ], | ||
| swiftSettings: [.defaultIsolation(MainActor.self)] | ||
| ] | ||
| ), | ||
| .executableTarget( | ||
| name: "MHCStudyDefinitionExporterCLI", | ||
|
|
@@ -64,8 +61,7 @@ let package = Package( | |
| "MHCStudyDefinitionExporter", | ||
| .product(name: "SpeziStudyDefinition", package: "SpeziStudy"), | ||
| .product(name: "ArgumentParser", package: "swift-argument-parser") | ||
| ], | ||
| swiftSettings: [.defaultIsolation(MainActor.self)] | ||
| ] | ||
| ), | ||
| .testTarget( | ||
| name: "MHCStudyDefinitionExporterTests", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO to add a tagged version here.