mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2025-11-28 22:01:38 +00:00
fix: Rename bundles to archives in artifact bundle index
This commit is contained in:
parent
45db20f487
commit
eafe2a2b94
3 changed files with 4 additions and 4 deletions
|
|
@ -25,8 +25,8 @@ let package = Package(
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "TailwindCSSCLI",
|
name: "TailwindCSSCLI",
|
||||||
url:
|
url:
|
||||||
"https://github.com/laosb/SwiftTailwind/releases/download/1.1.0.test.0%2Btw.4.1.14/tailwindcss.artifactbundleindex",
|
"https://github.com/laosb/SwiftTailwind/releases/download/1.1.0-test.2+tw.4.1.14/tailwindcss.artifactbundleindex",
|
||||||
checksum: "cdc10d3dbd0ad593d68df5564f22c5fc6ffe57facb30a8665d0be073e7fb9c66"
|
checksum: "4462492d557c16c07a3c8c07980eea54e4460d925c1b9a097ad91f1c901440ec"
|
||||||
),
|
),
|
||||||
.target(
|
.target(
|
||||||
name: "SwiftTailwindExample",
|
name: "SwiftTailwindExample",
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ class ArtifactBundleBuilder {
|
||||||
|
|
||||||
let index = ArtifactBundleIndex(
|
let index = ArtifactBundleIndex(
|
||||||
schemaVersion: "1.0",
|
schemaVersion: "1.0",
|
||||||
bundles: bundles
|
archives: bundles
|
||||||
)
|
)
|
||||||
|
|
||||||
let encoder = JSONEncoder()
|
let encoder = JSONEncoder()
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ struct ArtifactVariant: Codable {
|
||||||
/// Represents the .artifactbundleindex file structure
|
/// Represents the .artifactbundleindex file structure
|
||||||
struct ArtifactBundleIndex: Codable {
|
struct ArtifactBundleIndex: Codable {
|
||||||
let schemaVersion: String
|
let schemaVersion: String
|
||||||
let bundles: [Bundle]
|
let archives: [Bundle] // The proposal says it's "bundles" but the actual implementation uses "archives"
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Bundle: Codable {
|
struct Bundle: Codable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue