Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swift Package Manager #72

Open
Lancelotbronner opened this issue Feb 3, 2020 · 1 comment
Open

Add Swift Package Manager #72

Lancelotbronner opened this issue Feb 3, 2020 · 1 comment

Comments

@Lancelotbronner
Copy link

I would like to use this in some of my projects, is it possible to implement support to the Swift Package Manager by adding a Package.swift?

@Lancelotbronner
Copy link
Author

Something like that:

// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "StyledTextKit",
    products: [
        .library(name: "StyledTextKit", targets: ["StyledTextKit"]),
    ],
    targets: [
        .target(name: "StyledTextKit", path: "Source"),
    ]
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant