diff --git a/Examples/HummingbirdDemo/Package.swift b/Examples/HummingbirdDemo/Package.swift index 7a5c87b..2215144 100644 --- a/Examples/HummingbirdDemo/Package.swift +++ b/Examples/HummingbirdDemo/Package.swift @@ -10,7 +10,10 @@ let package = Package( .executable(name: "App", targets: ["App"]) ], dependencies: [ - .package(path: "../../"), + // In this demo project we import elementary-htmx from the local file system. + .package(name: "elementary-htmx", path: "../../"), + // In a real project add a remote dependency, e.g. + // .package(url: "https://github.com/elementary-swift/elementary-htmx.git", from: "0.5.0"), .package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"), .package(url: "https://github.com/hummingbird-project/hummingbird-websocket.git", from: "2.0.0"), .package(url: "https://github.com/hummingbird-community/hummingbird-elementary.git", from: "0.4.0"), diff --git a/Examples/VaporDemo/Package.swift b/Examples/VaporDemo/Package.swift index 7cf92d7..155ea69 100644 --- a/Examples/VaporDemo/Package.swift +++ b/Examples/VaporDemo/Package.swift @@ -12,7 +12,10 @@ let package = Package( dependencies: [ .package(url: "https://github.com/vapor/vapor", from: "4.102.0"), .package(url: "https://github.com/vapor-community/vapor-elementary.git", from: "0.2.0"), - .package(path: "../../"), + // In this demo project we import elementary-htmx from the local file system. + .package(name: "elementary-htmx", path: "../../"), + // In a real project add a remote dependency, e.g. + // .package(url: "https://github.com/elementary-swift/elementary-htmx.git", from: "0.5.0"), .package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"), ], targets: [