Check luarocks version. Specify lua version on rocks install.
This commit is contained in:
parent
06205deaa7
commit
b76a105cce
2 changed files with 5 additions and 3 deletions
|
@ -44,6 +44,8 @@ script:
|
|||
- agda --version
|
||||
- acknowledgements --version
|
||||
- pandoc --version
|
||||
- lua -v
|
||||
- luarocks --version
|
||||
- make build
|
||||
- make test-offline # disable to only build cache
|
||||
- make epub
|
||||
|
|
6
Makefile
6
Makefile
|
@ -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 --tree=lua_modules/ lua-cjson 2.1.0-1
|
||||
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-cjson 2.1.0-1
|
||||
|
||||
lua_modules/share/lua/$(LUA_VERSION)/tinyyaml.lua:
|
||||
luarocks install --tree=lua_modules/ lua-tinyyaml
|
||||
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ lua-tinyyaml
|
||||
|
||||
lua_modules/share/lua/$(LUA_VERSION)/liquid.lua:
|
||||
luarocks install --tree=lua_modules/ liquid
|
||||
luarocks install --lua-version=$(LUA_VERSION) --tree=lua_modules/ liquid
|
||||
|
||||
travis-uninstall-agda:
|
||||
rm -rf $(HOME)/agda-$(AGDA_VERSION)/
|
||||
|
|
Loading…
Add table
Reference in a new issue