Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
lrt
 
 

lrt

Script for easily working with Luarocks trees. Allows you to configure Lua projects to only reference project-local dependencies in order to isolate them from system-wide dependencies.

Installation

luarocks install lrt

Commands

Install

Install (or reinstall) a rock from Luarocks into ./lua_modules.

lrt install <rock name or rockspec> [additional luarocks arguments]

or

lrt i <rock name or rockspec> [additional luarocks arguments]

Install Dependencies

Install dependencies listed in ./deps-dev-0.rockspec.

lrt install_deps

or

lrt id

Run

Run a command with Luarocks binary and package paths configured for ./lua_modules.

lrt run <command name> [arguments]

or

lrt r <command name> [arguments]

Test

Run Luarocks test command with package paths configured for ./lua_modules.

lrt test

or

lrt t

Clean

Remove all rocks install in ./lua_modules.

lrt clean

or

lrt c

Write Empty Dependencies File

Creates an empty dependency file at ./deps-dev-0.rockspec.

lrt write_depfile

or

lrt w

or

lrt init

About

Script for easily working with Luarocks trees

Resources

License

Packages

No packages published

Languages