Coder Social home page Coder Social logo

layoutops's Issues

update package description

I was just trying to use LayoutOps with accio but seems like there is a problem with the swift pm package description

$ accio update
✨  Reverting any changes in the checkouts directory ...
✨  Updating dependencies ...
Fetching https://github.com/psharanda/LayoutOps.git
Completed resolution in 3.09s
Cloning https://github.com/psharanda/LayoutOps.git
Resolving https://github.com/psharanda/LayoutOps.git at master
✨  Reading package manifest at /path/_research/Test/Package.swift ...
✨  Generating dependency graph ...
❌  'LayoutOps' /path/_research/Test/.accio/checkouts/LayoutOps: error: could not find source files for target(s): LayoutOps; use the 'path' property in the Swift 4 manifest to set a custom target path
Error: The operation couldn’t be completed. (AccioKit.DependencyResolverError error 0.)

Maybe you could update the descriptor to something along the lines of this? (untested)

// swift-tools-version:5.0
import PackageDescription

let package = Package(
    name: "LayoutOps",
    platforms: [
        .macOS(.v10_12),
        .iOS(.v10),
        .tvOS(.v10),
        .watchOS(.v3)
    ],
    products: [
        .library(name: "LayoutOps", targets: ["LayoutOps"])
    ],
    targets: [
        .target(name: "LayoutOps", path: "Sources"),
        .testTarget(name: "LayoutOpsTests", path: "Tests", dependencies: ["LayoutOps"]),
    ],
    swiftLanguageVersions: [.v5]
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.