Skip to content

Commit

Permalink
copy over lua files before running cyan
Browse files Browse the repository at this point in the history
  • Loading branch information
atticus-sullivan committed Dec 11, 2024
1 parent 8e5fa56 commit 6723442
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install lua
uses: jkl1337/gh-actions-lua@v11
with:
luaVersion: "5.4.6"
luaVersion: "5.4.7"
- name: Install LuaRocks (latest)
uses: jkl1337/gh-actions-luarocks@v5

Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
.PHONY: all checkAll doc install build
.PHONY: all checkAll doc install build clean

FD ?= fd

all: build doc install

build: checkAll
@cyan version
mkdir -p src_lua/texrunner
cd src_teal && $(FD) "\.lua" . --exec cp {} ../src_lua/{}
@cyan version
eval $$(luarocks path) && cyan build
sed -i '1s;^;#!/usr/bin/env texlua\n;' src_lua/cluttealtex.lua
cp src_teal/texrunner/*lua src_lua/texrunner/
cp src_teal/os_.lua src_lua/
make -f Makefile.cluttealtex

clean:
$(RM) -r src_lua

doc:
l3build doc

Expand Down

0 comments on commit 6723442

Please sign in to comment.