Specify lua-dir.

This commit is contained in:
Wen Kokke 2020-07-02 19:31:55 +01:00
parent b76a105cce
commit 968676147a

View file

@ -221,13 +221,13 @@ $(HOME)/.local/bin/lua:
lua_modules/share/lua/$(LUA_VERSION)/cjson:
# Only this particular version works:
# https://github.com/mpx/lua-cjson/issues/56:
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-cjson 2.1.0-1
luarocks install --lua-dir=$(HOME)/.local --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-cjson 2.1.0-1
lua_modules/share/lua/$(LUA_VERSION)/tinyyaml.lua:
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-tinyyaml
luarocks install --lua-dir=$(HOME)/.local --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-tinyyaml
lua_modules/share/lua/$(LUA_VERSION)/liquid.lua:
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ liquid
luarocks install --lua-dir=$(HOME)/.local --lua-version=$(LUA_VERSION) --tree=lua_modules/ liquid
travis-uninstall-agda:
rm -rf $(HOME)/agda-$(AGDA_VERSION)/