On 21.12.2010 21:03:40, Alexander Gladysh wrote:
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)

        Hi, Саша!
I guess there's a shell-agnostic but Linux-specific way:
ssh example.com git --git-tree=/path/to/repo.git show rockspec/version-0.1-1.rockspec | luarocks install /dev/stdin

Unfortunatelly I couldn't make either of them work for me.

Regards,
--
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: [email protected]
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to