$ tmpl lisp
Creates a small Lips starter project with a main, test file and makefile
Files
project
└─main-test.lisp
└─main.lisp
└─makefile
↑ main-test.lisp
;;;;;; main v1.1.0;;;(ql:quickload "lisp-unit")#-xlisp-test (load "main")(defpackage #:main-test(:use #:common-lisp #:lisp-unit))(in-package #:main-test)(define-testsay-hello!(assert-equal"Hello, World!"(main:greet)))#-xlisp-test(let ((*print-errors* t)(*print-failures* t))(run-tests :all))
↑ main.lisp
(in-package #:cl-user)(defpackage #:main(:use #:cl)(:export #:greet))(in-package #:main)(defun greet ()"Hello, World!")(defun main ()(print (greet)))(main)
↑ makefile
default:@echo "No default"start:sbcl --load main.lisp --disable-debugger --quittest:sbcl --load main-test.lisp --disable-debugger --quit