Giter VIP home page Giter VIP logo

framework-generate's Introduction

framework-generate

Gem Version License

Simple tool to help generate a multiplatform, single-scheme Xcode project.

Installation

Add this line to your Gemfile:

gem 'framework-generate'

Usage

Once installed you can run the generate command from the command line as follows

framework-generate

framework-generate will look for a FrameworkSpec file in the current folder to generate your Xcode project. An example of a FrameworkSpec can be found in the docs folder of this repoisitory.

To view the full FrameworkSpec documentation see the docs folder.

Sample FrameworkSpec Files

Don't know where to start? Some FrameworkSpec files exist here for a couple projects. It can be a good place to start!

Contributing

Love framework-generate but want to make it even better?

Open source isn't just writing code. We could use your help with any of the following:

  • Finding (and reporting!) bugs.
  • New feature suggestions.
  • Answering questions on issues.
  • Documentation improvements.
  • Reviewing pull requests.
  • Helping to manage issue priorities.
  • Fixing bugs/new features.

If any of that sounds cool to you, send a pull request! After a few contributions, we'll add you as an admin to the repo so you can merge pull requests and help build framework-generate.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

How to contribute

Contributing is easy but you will need to have bundler installed. If you don't it can be installed using:

[sudo] gem install bundler

When you have bundler installed, simply make your changes to the tool and then try it out using:

bundle install
bundle exec framework-generate

Once your change is good to go open up a pull request!

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

framework-generate's People

Contributors

pmairoldi avatar tbaranes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

youngerbyte

framework-generate's Issues

Copy Carthage Frameworks phase

Hey @petester42. There is additional build_phase added for test target type, even if the library does not use Carthage dependencies (might be connected to #11). Would be awesome if we could get rid of that one either by command or with a deps.count check.

Gather coverage data option.

Hey @petester42. I'm wondering if you could introduce Gather coverage data option to the script. In #1169, we figured that now when you have this option selected in the main scheme, and you are using Xcode 9, the build won't pass the submission. Thus we would like to enable it only in MoyaTests scheme. Would it be possible? Or maybe you have another idea?

tvOS and watchOS shouldn't mandatory

Great tool ๐Ÿ‘

I don't think all frameworks have to support the four platforms, in my case: I only need iOS and macOS, but in order to generate the xcodeproj, I have to set the four of them, if I don't it will simply crash. Is there a reason for this?

Specify carthage directory path

If the Xcodeproj isn't in the root directory (as well as the carthage directory), the generated framework search path will be invalid. I didn't find a way to set a custom carthage path from the docs, would be a great option!

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.