You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deps.run could potentially accept a list of dependencies instead of a conf table. This would be as easy as checking if the table is an array containing strings (there is a schema checking library already in this repository).
This would make it easier to use as a library.
deps.run({ -- Dependency List"bump ~> 3", -- install bump.lua version 3"dkjson >= 2", -- install a version of dkjson greater than 2.0"repler", -- install any version of repler, including SCM versions
}, { -- Argumentsname="package name", -- Currently provided by t.identityfrom= { -- Currently provided by t.rocks_servers"http://alloyed.me/shared/rocks" ,
"http://luarocks.org"
},
tree="my-rocks-folder", -- Currently provided by t.rocks_tree--All the other args still apply (ie: server and only-server)
})
Note that this additional arguments are only available through the library and not exposed to the CLI (although name and tree could)
The text was updated successfully, but these errors were encountered:
deps.run
could potentially accept a list of dependencies instead of aconf
table. This would be as easy as checking if the table is an array containing strings (there is a schema checking library already in this repository).This would make it easier to use as a library.
Note that this additional arguments are only available through the library and not exposed to the CLI (although
name
andtree
could)The text was updated successfully, but these errors were encountered: