Skip to content

Concatenates your RubyMotion source files for faster compile times.

Notifications You must be signed in to change notification settings

SupremeGravity/compressor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compressor

Compressor is a RubyMotion gem that speeds up your RubyMotion compile times by concatenating your source files. It typically speeds up your fresh builds by 70-95%.

Installation

gem "compressor"

Usage

In your Rakefile, add the following to the bottom of your setup block:

# ...

Motion::Project::App.setup do |app|
  # ...

  app.concat_files
end

Options

Exclude files by passing in regex or strings:

app.concat_files exclude: [ /app/, "/app/" ]

Choose the number of files to break into, for parallel builds (default is 4):

app.concat_files parallel: 3

A typical setup is:

app.development do
  app.concat_files exclude: [ "/app/" ], parallel: 3
end

app.release do
  app.concat_files
end

Contributing

  1. Fork it
  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

About

Concatenates your RubyMotion source files for faster compile times.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%