mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2025-11-28 22:01:38 +00:00
First working version.
This commit is contained in:
parent
2f70b79493
commit
8fbeb20900
6 changed files with 227 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// swift-tools-version: 5.6
|
||||
// swift-tools-version: 6.1
|
||||
|
||||
import PackageDescription
|
||||
|
||||
|
|
@ -9,6 +9,18 @@ let package = Package(
|
|||
.plugin(name: "TailwindCSS", targets: ["TailwindCSS"])
|
||||
],
|
||||
targets: [
|
||||
.plugin(name: "TailwindCSS", capability: .buildTool())
|
||||
.plugin(name: "TailwindCSS", capability: .buildTool(), dependencies: ["TailwindCSSCLI"]),
|
||||
.binaryTarget(
|
||||
name: "TailwindCSSCLI",
|
||||
url:
|
||||
"https://github.com/laosb/SwiftTailwind/releases/download/4.1.12-test-manual.1/tailwindcss.artifactbundle.zip",
|
||||
checksum: "bfa96ef1d4d1b665bb40c89ec906044c9532b3cabf866fbe2bd3e5a95bf40bea"
|
||||
),
|
||||
.target(
|
||||
name: "SwiftTailwindExample",
|
||||
resources: [.copy("Folder")],
|
||||
plugins: ["TailwindCSS"]
|
||||
),
|
||||
.testTarget(name: "SwiftTailwindTests", dependencies: ["SwiftTailwindExample"]),
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue