A packaging rake task would be nice. I personally have no clue about creating a dmg file, so having a task that does for me would be super helpful.

- Matt

On Tue, Nov 11, 2008 at 7:38 AM, Richard Kilmer <rich@infoether.com> wrote:
As always, Laurent did all the hard work!

I also wonder whether it makes sense to add 'package' or something as a rake task that takes the deployed .app and creates a dmg and places it inside of it for redistribution.  Make sense?

Best,

Rich

On Nov 11, 2008, at 1:03 AM, Matt Aimonetti wrote:

w00t, this is really really nice Rich, I can't wait to try it.

Thanks a lot.

-Matt

On Tue, Nov 11, 2008 at 12:33 AM, Richard Kilmer <rich@infoether.com> wrote:
All,

I added a new rake task for HotCocoa - deploy

To do this I also updated the Rakefile itself.  Now if you try and macrake one of your existing HotCocoa projects you may see this:

Your Rakefile needs to be updated.  Please copy the Rakefile from:
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/share/hotcocoa_template/Rakefile

This is instructing you to replace your existing Rakefile with one mentioned in the error message (be careful if you have modified it!).

The new Rakefile is very minimal:

       require 'hotcocoa/application_builder'
       require 'hotcocoa/standard_rake_tasks'

       task :default => [:run]

The standard tasks (clean, run, build, deploy) are now in the standard_rake_tasks.rb file.  This way we can keep these tasks up to date without having to update your Rakefile in the future.  All new Rakefiles when you execute hotcocoa <app> will include the new Rakefile.

The deploy task is just like the build task in that it creates YourApp.app, but it additionally copies in the MacRuby framework.  This should enable you to take that .app and share it with another who does not have MacRuby installed.

Best,

Rich

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel