fix: Linux cross-platform compatibility

- Remove hardcoded local GenHTML5 path dependency (unused)
- Add swift-system dependency for cross-platform FilePath support
- Change 'import System' to 'import SystemPackage' in BaseComponents.swift

Automated-By: claude-sonnet-4-6
This commit is contained in:
Isaac Paul
2026-05-19 04:31:09 -05:00
parent 1aff7e50ee
commit 1faa9ab465
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -23,13 +23,15 @@ let package = Package(
.plugin(name: "BindingPlugin", targets: ["BindingPlugin"]) .plugin(name: "BindingPlugin", targets: ["BindingPlugin"])
], ],
dependencies: [ dependencies: [
.package(path: "/Users/isaacpaul/Projects/swift-projects/GenHTML5"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"), .package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
.package(url: "https://github.com/apple/swift-system.git", from: "1.0.0"),
], ],
targets: [ targets: [
.target( .target(
name: "HRW", name: "HRW",
dependencies: [ ] dependencies: [
.product(name: "SystemPackage", package: "swift-system"),
]
), ),
.executableTarget(name: "BindingGenerator", dependencies: [ .executableTarget(name: "BindingGenerator", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser") .product(name: "ArgumentParser", package: "swift-argument-parser")
+1 -1
View File
@@ -6,7 +6,7 @@
// Non-commercial license, see LICENSE.MD in the project root for details // Non-commercial license, see LICENSE.MD in the project root for details
// //
import System import SystemPackage
import Foundation import Foundation
public protocol IFlowContent : HTMLNode {} public protocol IFlowContent : HTMLNode {}