diff --git a/Makefile b/Makefile index d796768..91d1a88 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,26 @@ ENV?=development ## run through roswell LISP?=sbcl -LISPFLAGS=--quit --non-interactive +LISPFLAGS=--non-interactive .PHONY: tests tests: ENV=$(ENV) \ $(LISP) \ - $(LISPFLAGS) --load tests-runner.lisp + $(LISPFLAGS) --quit --load tests-runner.lisp + +.PHONY: run-url-shortener +run-url-shortener: + ENV=$(ENV) \ + $(LISP) \ + $(LISPFLAGS) \ + --eval "(push *default-pathname-defaults* ql:*local-project-directories*)" \ + --eval "(ql:quickload :wst.example.url-shortener)" + +.PHONY: run-bookmark-manager +run-bookmark-manager: + ENV=$(ENV) \ + $(LISP) \ + $(LISPFLAGS) \ + --eval "(push *default-pathname-defaults* ql:*local-project-directories*)" \ + --eval "(ql:quickload :wst.example.bookmark-manager)"