Code Monkey home page Code Monkey logo

cocoapods-src's Introduction

cocoapods-src

cocoapods-src is a CocoaPods plugin for automatic git clone.

This rubygem is inspired by amatsuda/gem-src.

Installation

$ gem install cocoapods-src

Usage

$ pod install

After pod install, automatically git clone POD_SOURCE ~/.cocoapods/src/POD_NAME will be run.

ghq

You can download sources using ghq command (motemen/ghq) instead of git clone. If you like to do it, add ~/.podrc, ~/.cocoapods/.podrc, or ./.podrc, and add a configuration like this.

cocoapods-src_use_ghq: true

Contribution

  1. Fork
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

cocoapods-src is available under the MIT license. See the LICENSE file for more info.

Author

naoty

cocoapods-src's People

Contributors

naoty avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cocoapods-src's Issues

An error occured after install

NoMethodError - undefined method `[]' for #<Pod::Source name:master type:file system>
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-src-0.2.0/lib/pod/src/downloader.rb:12:in `block in download'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-src-0.2.0/lib/pod/src/downloader.rb:11:in `each'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-src-0.2.0/lib/pod/src/downloader.rb:11:in `download'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-src-0.2.0/lib/pod/hook/post_install.rb:2:in `block in <top (required)>'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/hooks_manager.rb:56:in `call'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/hooks_manager.rb:56:in `block in run'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/hooks_manager.rb:55:in `each'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/hooks_manager.rb:55:in `run'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:326:in `run_plugins_post_install_hooks'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:318:in `perform_post_install_actions'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/installer.rb:94:in `install!'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/command/project.rb:101:in `run'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/claide-0.7.0/lib/claide/command.rb:271:in `run'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/lib/cocoapods/command.rb:45:in `run'
/Users/naoty/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/cocoapods-0.35.0/bin/pod:43:in `<top (required)>'
/Users/naoty/.rbenv/versions/2.1.4/bin/pod:23:in `load'
/Users/naoty/.rbenv/versions/2.1.4/bin/pod:23:in `<main>'

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.