Skip to content

An experiment to demonstrate how to build RubyMotion app using Buck

License

Notifications You must be signed in to change notification settings

zetachang/rubymotion-buck-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build RubyMotion App with Buck

This is an experimental playground to build RubyMotion app using Buck, currently only iOS is supported.

Why Buck?

Buck is a build tool created by Facebook to deliver fast & reproducible results.

For further detail, see What Makes Buck so Fast?

But why use Buck to build RubyMotion App?

Actually the original RubyMotion toolchain for iOS is fast enough, for a small demo app like this one, Buck is only slightly faster. However, it's supposed to scale on larger code base, so the next step might be transferring an existing RM to use Buck as a comparison.

Also, this won't be possible without the open sourced RubyMotion toolchain

Usage

  1. Clone the project
  2. Install Buck & RubyMotion
  3. buck build //:DemoApp to build the app
  4. buck install --run //:DemoApp to run inside simulator
  5. rake build:simulator will use the default toolchain of RM.

Limitation

This is rather a hack built up in one night to be as a proof of concept.

  • Only iOS is supported now.
  • Only iPhoneSimulator is tested.
  • RubyMotion build config is far more complex, so lots of cased are not considered.

How can I hack on the project?

Actually all of the magic is inside buck-motion folder. To use in other project, simply copy this folder to your project root and start hacking.

Contact

David Chang @zetachang

License

MIT License, See LICENSE file for details.

About

An experiment to demonstrate how to build RubyMotion app using Buck

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published