lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2013/3/27 Laurent Faillie <l_faillie@yahoo.com>:

> Related to this announcement, I wonder if there is a way to check
> automatically if installed rocks need to be updated ?

"installed rocks need to be updated" is not an exact synonym
for "updates for installed rocks are available". For the latter,
you can do

luarocks search --all > allrocks.txt
luarocks list > installed_rocks.txt

and write a simple Lua script to check whether
each installed version is the most recent version.