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:
+4
-2
@@ -23,13 +23,15 @@ let package = Package(
|
||||
.plugin(name: "BindingPlugin", targets: ["BindingPlugin"])
|
||||
],
|
||||
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-system.git", from: "1.0.0"),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "HRW",
|
||||
dependencies: [ ]
|
||||
dependencies: [
|
||||
.product(name: "SystemPackage", package: "swift-system"),
|
||||
]
|
||||
),
|
||||
.executableTarget(name: "BindingGenerator", dependencies: [
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser")
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Non-commercial license, see LICENSE.MD in the project root for details
|
||||
//
|
||||
|
||||
import System
|
||||
import SystemPackage
|
||||
import Foundation
|
||||
|
||||
public protocol IFlowContent : HTMLNode {}
|
||||
|
||||
Reference in New Issue
Block a user