Skip to content

Commit

Permalink
Migrate to new SpeziNetworking package
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jun 6, 2024
1 parent 017ea99 commit ef769bc
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 914 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
name: Build and Test Swift Package iOS
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
scheme: SpeziFileFormats-Package
scheme: SpeziFileFormats
resultBundle: SpeziFileFormats-iOS.xcresult
artifactname: SpeziFileFormats-iOS.xcresult
watchos:
name: Build and Test Swift Package watchOS
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
scheme: SpeziFileFormats-Package
scheme: SpeziFileFormats
destination: 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm)'
resultBundle: SpeziFileFormats-watchOS.xcresult
artifactname: SpeziFileFormats-watchOS.xcresult
visionos:
name: Build and Test Swift Package visionOS
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
scheme: SpeziFileFormats-Package
scheme: SpeziFileFormats
destination: 'platform=visionOS Simulator,name=Apple Vision Pro'
resultBundle: SpeziFileFormats-visionOS.xcresult
artifactname: SpeziFileFormats-visionOS.xcresult
Expand All @@ -44,7 +44,7 @@ jobs:
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
runsonlabels: '["macOS", "self-hosted"]'
scheme: SpeziFileFormats-Package
scheme: SpeziFileFormats
resultBundle: SpeziFileFormats-tvOS.xcresult
destination: 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)'
artifactname: SpeziFileFormats-tvOS.xcresult
Expand All @@ -54,7 +54,7 @@ jobs:
with:
runsonlabels: '["macOS", "self-hosted"]'
xcodeversion: latest
scheme: SpeziFileFormats-Package
scheme: SpeziFileFormats
resultBundle: SpeziFileFormats-macOS.xcresult
destination: 'platform=macOS,arch=arm64'
artifactname: SpeziFileFormats-macOS.xcresult
Expand Down
3 changes: 1 addition & 2 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ builder:
configs:
- platform: ios
documentation_targets:
- ByteCoding
- XCTByteCoding
- EDFFormat
30 changes: 4 additions & 26 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,22 @@ let package = Package(
.tvOS(.v16)
],
products: [
.library(name: "ByteCoding", targets: ["ByteCoding"]),
.library(name: "EDFFormat", targets: ["EDFFormat"]),
.library(name: "XCTByteCoding", targets: ["XCTByteCoding"])
.library(name: "EDFFormat", targets: ["EDFFormat"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.59.0")
.package(url: "https://github.com/StanfordSpezi/SpeziNetworking.git", branch: "initial-setup")
],
targets: [
.target(
name: "ByteCoding",
dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOFoundationCompat", package: "swift-nio")
]
),
.target(
name: "EDFFormat",
dependencies: [
.target(name: "ByteCoding")
]
),
.target(
name: "XCTByteCoding",
dependencies: [
.target(name: "ByteCoding")
]
),
.testTarget(
name: "ByteCodingTests",
dependencies: [
.target(name: "ByteCoding"),
.target(name: "XCTByteCoding")
.product(name: "ByteCoding", package: "SpeziNetworking")
]
),
.testTarget(
name: "EDFFormatTests",
dependencies: [
.target(name: "ByteCoding"),
.product(name: "ByteCoding", package: "SpeziNetworking"),
.target(name: "EDFFormat")
]
)
Expand Down
37 changes: 0 additions & 37 deletions Sources/ByteCoding/Bool+ByteCodable.swift

This file was deleted.

119 changes: 0 additions & 119 deletions Sources/ByteCoding/ByteCodable.swift

This file was deleted.

36 changes: 0 additions & 36 deletions Sources/ByteCoding/ByteCoding.docc/ByteCoding.md

This file was deleted.

38 changes: 0 additions & 38 deletions Sources/ByteCoding/Data+ByteCodable.swift

This file was deleted.

51 changes: 0 additions & 51 deletions Sources/ByteCoding/FixedWithInteger+ByteCodable.swift

This file was deleted.

Loading

0 comments on commit ef769bc

Please sign in to comment.