diff --git a/pkgs/anoia/run-tests.fnl b/pkgs/anoia/run-tests.fnl new file mode 100644 index 0000000..a07a3d7 --- /dev/null +++ b/pkgs/anoia/run-tests.fnl @@ -0,0 +1,10 @@ +(local fennel (require :fennel)) +(local specials (require :fennel.specials)) + +(local compiler-env + (doto (. (specials.make-compiler-env) :_G) + (tset "RUNNING_TESTS" true))) + +(each [_ f (ipairs arg)] + (print :testing f) + (fennel.dofile f { :correlate true :compilerEnv compiler-env }))