> On 19/01/2016, at 6:44 pm, Sean Conner <s...@conman.org> wrote:
> 
> It was thus said that the Great Geoff Leyland once stated:
>> 
>> If I'm working on one module in the project, and then go and make
>> improvements to one of its dependencies, I pretty much always forget to do
>> a "luarocks make" in the dependency's directory before going back to the
>> first module, and so I don't get the changes until I go back and do that. 
>> It's not a big deal, but it's something that "just worked" when the
>> project was a big messy bunch of files.
>> 
>> Does anyone have any tricks for automating that, or improving the
>> situation?  I thought about mucking with the install process so that it
>> hard-linked files rather than copied them, but there's got to be some
>> nicer solution than that, right?
> 
>  Are you using some version control system?  If so, you might want to write
> a script that does what you do that hooks into the VCS upon commit (I know
> you can do this with SVN and git).  Or maybe a Makefile that does what you
> need to do.

Thanks Sean,

It's all in git, but I don't necessarily commit after making modifications: it 
might be that in working on module A, I discover a bug in module B, which I 
then fix, but don't wish to commit until I've checked it works it module A, and 
at that's the point at which I forget to "luarocks make".

I've actually had a play with what I suggested above, sort of: in ~/lua I have 
symlinks to the appropriate parts of the modules that would otherwise be 
"luarocks make"d (at the moment these are all pure Lua so no building is 
needed) and I've added that to LUA_PATH.  It feels a bit hacky, but it 
scratches the itch.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to