[MacRuby-devel] Added new Rake task - deploy

Eloy Duran eloy.de.enige at gmail.com
Tue Nov 11 08:17:31 PST 2008


Here's some code which does that:
http://github.com/alloy/rucola/tree/master/lib/rucola/tasks/deploy.rake

- Eloy

On Nov 11, 2008, at 1:38 PM, Richard Kilmer 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 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
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> 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/74718aac/attachment.html>


More information about the MacRuby-devel mailing list