Skip to content

ykkd/Rugby

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

495 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 



Motivation

Working on a project with a huge amount of pods I had some troubles:
- Slow and unnecessary indexing of pods targets, which implementation I rarely try to edit;
- Redundant rebuild time, probably as a result of problems CocoaPods hooks or Xcode build system;
- Freezing UI during navigation.

You can read ๐Ÿ“– full story on my blog.

Description

๐Ÿˆ Rugby is CLI tool that was developed to solve the above problems:
+ Cache all pods dependencies and remove their targets from the Pods project;
+ Rebuild only changed pods;
+ Remove unnecessary sources from a project and reduce project size;
+ Drop any unneeded targets with sources and resources by RegEx.

What makes it different?

๐Ÿ•Š Not a dependency, just an optional step
๐Ÿ”’ Doesn't change Podfile and Podfile.lock
๐Ÿ›  Custom steps
๐Ÿ“ˆ Metrics after each command
โœจ Fancy log output
๐Ÿš€ Swiftish!

Ruby alternatives:
- PodBuilder
- CocoaPods Binary Cache
- CocoaPods Binary

Discussions

You can read more about ๐Ÿˆ Rugby in discussions section.
Feel free to report any issues or suggest some new feature requests.


Quick start with Mint ๐ŸŒฑ

brew install mint
mint install swiftyfinch/rugby

# Now on Mint 0.17.0 you'll need to add ~/.mint/bin to your $PATH
# For example, add this to your ~/.zshrc file and relaunch terminal
export PATH=$HOME/.mint/bin:$PATH

Watch ๐ŸŽฌ installation demo

How to use ๐Ÿˆ

Run in your project directory after each pod install:

pod install && rugby

Watch ๐ŸŽฌ Basic Usage Demo
Read more about advanced usage

Documentation ๐Ÿ“š

Command Description
๐Ÿš‘ Help General Rugby documentation.
๐Ÿˆ Cache Convert pods to prebuilt dependencies.
โœˆ๏ธ Plans Run a predefined sequence of commands.
๐Ÿ” Focus Keep only selected targets and all their dependencies.
๐Ÿ—‘ Drop Remove any targets by RegEx.
๐Ÿ”ญ How to
Generating and Installing Completion Scripts

Author

Vyacheslav Khorkov
Twitter: @SwiftyFinch
Blog: swiftyfinch.github.io
Feel free to contact me ๐Ÿ“ฎ

About

๐Ÿˆ Cache CocoaPods for faster rebuild and indexing Xcode project.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Swift 95.6%
  • Ruby 4.0%
  • Other 0.4%