~technomancy/antifennel

4bc211c1da465f4f9bed04209abf8f1b16659898 — Phil Hagelberg a month ago 3704bb1
Use luajit exclusively in CI.
2 files changed, 2 insertions(+), 2 deletions(-)

M Makefile
M test/cli.fnl
M Makefile => Makefile +1 -1
@@ 14,7 14,7 @@ PARSER_FENNEL=lang/reader.fnl \

antifennel: antifennel.fnl anticompiler.fnl $(PARSER_FENNEL)
	echo "#!/usr/bin/env luajit" > $@
	./fennel --require-as-include --compile $< >> $@
	luajit fennel --require-as-include --compile $< >> $@
	chmod 755 $@

test: antifennel self test/fennel.lua

M test/cli.fnl => test/cli.fnl +1 -1
@@ 12,7 12,7 @@
(fn test-cli []
  ;; skip this if we haven't compiled the CLI
  (when (file-exists? "fennel")
    (l.assertEquals "6\n" (: (io.popen "./fennel --eval \"(+ 1 2 3)\"")
    (l.assertEquals "6\n" (: (io.popen "luajit fennel --eval \"(+ 1 2 3)\"")
                             :read :*a))))

{: test-cli}