From e7a92df4cf927cd530ad05d8a471aab2b7dd7797 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Sun, 5 Jan 2025 19:54:33 -0800 Subject: [PATCH] Install luarocks in CI manifest, not in ci makefile target. --- .build.yml | 1 + .gitignore | 2 ++ Makefile | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index 7c2de31..3110f49 100644 --- a/.build.yml +++ b/.build.yml @@ -6,6 +6,7 @@ packages: - lua5.3 - lua5.4 - luajit + - luarocks sources: - https://git.sr.ht/~xerool/fennel-ls tasks: diff --git a/.gitignore b/.gitignore index 003a793..cc24a8a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /lua*.html /build /src/fennel-ls/docs/generated/love2d.fnl +/scratch.fnl +/scratch-macros.fnl diff --git a/Makefile b/Makefile index 6f0a3a4..1ee8f8c 100644 --- a/Makefile +++ b/Makefile @@ -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