[MacRuby-devel] Added new Rake task - deploy

Matt Aimonetti mattaimonetti at gmail.com
Mon Nov 10 22:03:05 PST 2008


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 at 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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20081111/5f85edf2/attachment.html>


More information about the MacRuby-devel mailing list