diff --git a/Makefile b/Makefile index 581ddbae..c6cb3d80 100644 --- a/Makefile +++ b/Makefile @@ -317,8 +317,10 @@ help: @echo ' make test Test a built Janet' @echo ' make valgrind Assess Janet with Valgrind' @echo ' make callgrind Assess Janet with Valgrind, using Callgrind' + @echo ' make valtest Run the test suite with Valgrind to check for memory leaks' @echo ' make dist Create a distribution tarball' @echo ' make docs Generate documentation' + @echo ' make debug Run janet with GDB or LLDB' @echo ' make install Install into the current filesystem' @echo ' make uninstall Uninstall from the current filesystem' @echo ' make clean Clean intermediate build artifacts' @@ -327,4 +329,4 @@ help: @echo .PHONY: clean install repl debug valgrind test \ - valtest emscripten dist uninstall docs grammar format help + valtest dist uninstall docs grammar format help diff --git a/test.janet b/test.janet new file mode 100644 index 00000000..8bd10066 --- /dev/null +++ b/test.janet @@ -0,0 +1,3 @@ +(defn hungry + [x] + (print x " is hungry"))