Install luarocks in CI manifest, not in ci makefile target.

This commit is contained in:
Phil Hagelberg 2025-01-05 19:54:33 -08:00
parent ae66e6d002
commit e7a92df4cf
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ packages:
- lua5.3
- lua5.4
- luajit
- luarocks
sources:
- https://git.sr.ht/~xerool/fennel-ls
tasks:

2
.gitignore vendored
View File

@ -3,3 +3,5 @@
/lua*.html
/build
/src/fennel-ls/docs/generated/love2d.fnl
/scratch.fnl
/scratch-macros.fnl

View File

@ -72,8 +72,7 @@ ci:
rm -f old-fennel
# test that luarocks builds and runs
DEBIAN_FRONTEND=noninteractive sudo apt install -y luarocks
luarocks install $(ROCKSPEC_LATEST_SCM) --dev --local
luarocks install $(ROCKSPEC_LATEST_SCM) --dev --local
eval "$$(luarocks path)"; \
fennel-ls --lint