Skip to content

Instantly share code, notes, and snippets.

View user19820's full-sized avatar

user19820

  • Coherent Solutions
  • Klaipeda, Lithuania
  • 10:03 (UTC +02:00)
  • LinkedIn in/akalpaki
View GitHub Profile
@zirkuswurstikus
zirkuswurstikus / lua_build_macos.sh
Last active October 6, 2025 10:52
A step by step guide on how to install lua, luajit and luarocks from sources on macOS.
# Build & install Lua on macOS
# We will compile Lua 5.1 because it is compatible with openresty/lapis.
# Replace the variables from line 30 ff to install a diffrent version.
# See: https://www.lua.org/manual/5.1/
# NOTE:
# We create a dedicated directory for the Lua stuff to putt all the stuff in.
@S1M0N38
S1M0N38 / install-lua-luarocks-on-macos.sh
Last active November 10, 2025 12:21 — forked from zirkuswurstikus/lua_build_macos.sh
A simple script to install Lua and Luarocks from source in a custom dir
#!/bin/bash
# This scripts installs Lua, LuaRocks, and some Lua libraries on macOS.
# The main purpose is to install Busted for testing Neovim plugins.
# After the installation, you will be able to run test using busted:
# busted --lua nlua spec/mytest_spec.lua
################################################################################
# Dependencies
################################################################################