On Sat, Oct 9, 2010 at 14:37, steve donovan <[email protected]> wrote:
> On Sat, Oct 9, 2010 at 3:49 AM, Alexander Gladysh <[email protected]> wrote:
>> ssh example.com git --git-tree=/path/to/repo.git show
>> rockspec/version-0.1-1.rockspec | luarocks install --from-stdin

> It would not be difficult to write a script to do this: read the
> rockspec body from stdin, copy it to some temp directory with a name
> constructed from the package and version, and then just do a install
> using the local filepath to the rockspec.

I have a bash-specific solution for this now:

luarocks install <(ssh example.com git --git-tree=/path/to/repo.git
show rockspec/version-0.1-1.rockspec)

Alexander.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to