shoes / furoshiki

Distribute Ruby GUI apps easily.
https://github.com/shoes/furoshiki
Do What The F*ck You Want To Public License
36 stars 6 forks source link

Shoes #1

Closed wasnotrice closed 11 years ago

wasnotrice commented 11 years ago

This extracts the packaging code from Shoes4 and reorganizes it as a Furoshiki responsibility. Run specs with rspec spec.

The code is set up so that Shoes requires Furoshiki (as a packaging utility). Furoshiki does not require Shoes...except that, in order to package a Shoes app, Furoshiki needs to bundle a Shoes gem. So, currently, it does not require Shoes (in a require 'shoes' sense), but it does require that the Shoes gem is installed in the current environment. Not quite a circular dependency, but it feels awkward. Improvements welcome.

I propose that we merge this in and release a 0.0.3, so that we can add 'furoshiki', '> 0.0.3' to our Shoes 4 dependencies. I have pushed a compatible Shoes 4 branch.

Cheers!

wasnotrice commented 11 years ago

I forgot to mention that this code downloads and caches a large .app wrapper file. It uses this directory:

"#{ENV['FUROSHIKI_HOME'] || '~/.furoshiki'}/cache"

I foresee this library having to do a fair bit of downloading and caching. The current code can be refactored and reused for multiple kinds of packages.

steveklabnik commented 11 years ago

Seems awesome. I'm going to release it as 0.1.0.