Giter Club home page Giter Club logo

carting's Introduction

Carting

Make Swift Package Manager Swift Package Manager

Do you use Carthage? Are you feel tired of adding special script and the paths to frameworks (point 4, 5 and 6 in Getting Started guide) manually? Me too. Carting does it for you. It scans Carthage folder and linked frameworks, gets framework names and updates the script.

Carting usage

Using

Run carting update in project folder. That's all.

By default Carting searches a script named Carthage, but you can set a name of your script via command line arguments:

$ carting update -s MyBestScript

If there is no script with the name, Carting will add a new one.

🚨Note: be sure to have no uncommitted changes in project file to prevent project parsing errors 😱. Project parsing error

Run carting help to see available commands:

Usage: carting [command] [options]
  update:
      Adds a new script with input/output file paths or updates the script named `Carthage`.
  -s, --script:
      Updates input/output file paths for the script with passed name.
  -p, --path:
      The project directory path.
  list:
      Prints Carthage frameworks list with linking description.
  help:
      Prints this message.

Installing

Homebrew (recommended):

$ brew install artemnovichkov/projects/carting

Make:

$ git clone https://github.com/artemnovichkov/carting.git
$ cd Carting
$ make

Swift Package Manager:

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/artemnovichkov/carting", majorVersion: 1)
    ]
)

Marathon

  • Install Marathon.
  • Add Carting to Marathon using $ marathon add [email protected]:artemnovichkov/carting.git. Alternatively, add [email protected]:artemnovichkov/carting.git to your Marathonfile.
  • Write your script, then run it using $ marathon run <path-to-your-script>.

Todo

  • Add option for adding new script
  • Add support of multiple targets
  • Add check of linked frameworks
  • Unify errors
  • Add support of tvOS and watchOS platforms
  • Check correct work with workspaces
  • Write tests

Author

Artem Novichkov, [email protected]

License

Carting is available under the MIT license. See the LICENSE file for more info.

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.