Skip to content

Commit d5202f6

Browse files
initial commit
0 parents  commit d5202f6

File tree

6 files changed

+1803
-0
lines changed

6 files changed

+1803
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
/.build
3+
/Packages
4+
xcuserdata/
5+
DerivedData/
6+
.swiftpm
7+
.netrc
8+
.vscode
9+
Package.resolved

Package.swift

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// swift-tools-version: 5.10
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
import CompilerPluginSupport
6+
7+
let package = Package(
8+
name: "swift-htmlkit",
9+
platforms: [
10+
.macOS(.v10_15)
11+
],
12+
products: [
13+
.library(
14+
name: "HTMLKit",
15+
targets: ["HTMLKit"]
16+
),
17+
],
18+
dependencies: [
19+
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.3"),
20+
],
21+
targets: [
22+
.macro(
23+
name: "HTMLKitMacros",
24+
dependencies: [
25+
.product(name: "SwiftSyntax", package: "swift-syntax"),
26+
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
27+
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
28+
]
29+
),
30+
.target(
31+
name: "HTMLKit",
32+
dependencies: [
33+
"HTMLKitMacros"
34+
]
35+
),
36+
37+
.testTarget(
38+
name: "HTMLKitTests",
39+
dependencies: ["HTMLKit"]
40+
),
41+
]
42+
)

0 commit comments

Comments
 (0)