mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
make: Magic trick for teal-src/*.tl -> ./*.lua
This commit is contained in:
parent
7f04df223a
commit
f6de136dc4
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ lint:
|
|||
@echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
|
||||
shellcheck configure
|
||||
|
||||
util/%.lua: teal-src/util/%.tl
|
||||
vpath %.tl teal-src/
|
||||
%.lua: %.tl
|
||||
tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
|
||||
-lua-format -i $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue