From 4ebd5685f85032fc143d882d767712ed27258e04 Mon Sep 17 00:00:00 2001 From: Joaquin Iglesias Turina Date: Tue, 12 Apr 2022 18:46:28 +0200 Subject: [PATCH 1/2] wrap io.read with tostring to avoid windows concat issue --- lib/stdio.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdio.fnl b/lib/stdio.fnl index 9135c85..4793972 100644 --- a/lib/stdio.fnl +++ b/lib/stdio.fnl @@ -4,7 +4,7 @@ ;; can be used in a non-blocking way from another thread. (fn prompt [cont?] - (io.write (if cont? ".." ">> ")) (io.flush) (.. (io.read) "\n")) + (io.write (if cont? ".." ">> ")) (io.flush) (.. (tostring (io.read)) "\n")) ;; This module is loaded twice: initially in the main thread where ... is nil, ;; and then again in a separate thread where ... contains the channel used to From 2439ad4b64d08e1ee8c6a08b55a7e1a17fd9f384 Mon Sep 17 00:00:00 2001 From: Joaquin Iglesias Turina Date: Tue, 12 Apr 2022 18:51:03 +0200 Subject: [PATCH 2/2] added test script --- test/test-min-love2d-fennel.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/test-min-love2d-fennel.sh diff --git a/test/test-min-love2d-fennel.sh b/test/test-min-love2d-fennel.sh new file mode 100644 index 0000000..f46d678 --- /dev/null +++ b/test/test-min-love2d-fennel.sh @@ -0,0 +1,7 @@ +echo "Testing Stable Version" + +./min-love2d-fennel/.duplicate/new-game.sh test-min-love2d -f +cd test-min-love2d + +echo "Testing windows" +make windows