> -----Original Message-----
> From: Steven Degutis [mailto:sbdegu...@gmail.com]
> Sent: donderdag 28 augustus 2014 23:27
> To: luarocks-developers@lists.sourceforge.net
> Subject: [Luarocks-developers] LuaRocks integration questions
> 
> Hello everyone.
> 
> I'm writing an OS X app that lets users automate common GUI tasks.
> Using the Lua modules I've written, you can create global hotkeys,
> inspect and move windows and running applications, etc.
> 
> One highly requested feature was to extract all the modules into
> third-party extensions, so they can each move at their own rate.
> 
> In response, I began to roll a full-featured in-app package manager.
> But it's a lot of work, and I feel like I'm reinventing the wheel.
> 
> Ideally I'd like my app to be super minimalist, and not be responsible
> for package-management functionality. It should mostly just be a host
> app for a Lua environment.
> 
> So I'm thinking of turning my modules into Luarocks packages. Would
> this make sense? The reason I'm unsure is because many of them depend
> on being run inside OS X.

That can be included in the rockspec (`supported_platforms` setting [1]). Also; 
you can host your own rock server, for those modules so your entire application 
remains self contained.

> 
> Also, if Luarocks is analogous to RubyGems, is there an analog for
> Ruby's Bundler tool, i.e. where you can list a set of packages to be
> installed, and it will install them for you if they aren't already
> installed?
> 
> Thanks in advance.
> Regards,
> Steven Degutis
> 

Thijs

[1] http://luarocks.org/en/Rockspec_format


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to