saturn: Provide usable lua shebang

The end-result can be executed directly on my NixOS system.
phoen
Samuel Dionne-Riel 2022-01-17 20:50:33 -05:00 committed by Daniel Barlow
parent 08dd9405e2
commit 2df6bd80a7
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ MODULES=main.fnl
lua $(FENNEL) --compile $< > $@
saturn: $(patsubst %.fnl,%.lua,$(MODULES)) Makefile
(echo -e "#!/usr/bin/lua\n" ; cat main.lua ) > $@
(echo -e "#!/usr/bin/env lua\n" ; cat main.lua ) > $@
chmod +x $@
install: