Skip to content

Latest commit

 

History

127 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdf-lua

Build Status Github Workflow

Lua plugin for asdf version manager based off of scripts in my dotfiles repository.

Dependencies

  • ANSI C compiler (like gcc).
    • OSX
      • xcode-select --install. Then install the "Command Line Tools" component from the dialog that appears.
    • Debian
      • sudo apt-get install linux-headers-$(uname -r) build-essential
    • RedHat
      • sudo yum install devtoolset-2

Install

asdf plugin add lua https://github.com/Stratus3D/asdf-lua.git

Use

Check the asdf readme for instructions on how to install & manage versions of Lua.

You can also read my Lua Version Management with asdf-lua article which has complete instructions on installation and usage.

Options

Linux Readline

Readline support varies by Lua version:

  • 5.1 - 5.3: Readline is required (build fails without libreadline-dev installed)
  • 5.4: Readline is optional and disabled by default. Enable by setting ASDF_LUA_LINUX_READLINE=1 before running asdf install. See http://lua-users.org/lists/lua-l/2020-07/msg00363.html for details.
  • 5.5+: Readline is loaded dynamically at runtime if available

Development

To modify this plugin into your asdf installation and see changes live, just create a symlink:

ln -s . ~/.asdf/plugins/lua

Contributing

Feel free to create an issue or pull request if you find a bug.

Issues

  • Lua versions 4.0 and earlier do not install
  • No way to specify specify custom configuration options

License

MIT License

About

Lua plugin for asdf version manager. https://github.com/asdf-vm/asdf

Resources

Stars

81 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages