Add manifest for SwiftPM support #921

Closed
opened 2019-08-26 07:41:04 -07:00 by tcurdt · 2 comments
tcurdt commented 2019-08-26 07:41:04 -07:00 (Migrated from github.com)

Report

Issues and Steps to Reproduce

Package.swift

// swift-tools-version:5.0
import PackageDescription

let package = Package(
    name: "Test",
    products: [],
    dependencies: [
        .package(url: "https://github.com/facebook/yoga.git", .branch("master")) // .upToNextMajor(from: "1.14.0")),
    ],
    targets: [
        .target(
            name: "Test",
            dependencies: [
                "yoga",
            ],
            path: "Test"
        ),
    ]
)
$ swift package resolve
Fetching https://github.com/facebook/yoga.git
https://github.com/facebook/yoga.git @ master: error: https://github.com/facebook/yoga.git has no manifest

Expected Behavior

It should install.

Actual Behavior

SwiftPM complains that there is no manifest.
It would be great if a manifest could be added.

# Report - [x] I have searched [existing issues](https://github.com/facebook/yoga/issues) and this is not a duplicate # Issues and Steps to Reproduce Package.swift ``` // swift-tools-version:5.0 import PackageDescription let package = Package( name: "Test", products: [], dependencies: [ .package(url: "https://github.com/facebook/yoga.git", .branch("master")) // .upToNextMajor(from: "1.14.0")), ], targets: [ .target( name: "Test", dependencies: [ "yoga", ], path: "Test" ), ] ) ``` ``` $ swift package resolve Fetching https://github.com/facebook/yoga.git https://github.com/facebook/yoga.git @ master: error: https://github.com/facebook/yoga.git has no manifest ``` # Expected Behavior It should install. # Actual Behavior SwiftPM complains that there is no manifest. It would be great if a manifest could be added.
sjmueller commented 2019-12-06 11:38:13 -08:00 (Migrated from github.com)

Is this planned any time soon?

Is this planned any time soon?
NickGerleman commented 2023-08-23 14:48:31 -07:00 (Migrated from github.com)
Added with https://github.com/facebook/yoga/pull/1339
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DaddyFrosty/yoga#921
No description provided.