From a34579e5774a2fc45a949e92d2806c6d45b03429 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Sat, 29 Jan 2022 08:16:31 -0600 Subject: update readme to reflect clpm use --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f173772..a0e4ffc 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ Make tilesheets from directories of png files. ## Use as a library - ;; clone the repo into ~/quicklisp/local-projects - (ql:quickload :imbricate) +Ensure that ASDF knows where to find this system, e.g. by using [CLPM](https://www.clpm.dev/) + + + (asdf:load-system "imbricate") (multiple-value-bind (sheet meta bad-paths) (imbricate:imbricate #P"/path/to/images/") ;; save the sheet image to disk as a png file @@ -38,8 +40,11 @@ isolate that image's data within the sheet's texture. The repo contains a `build.lisp` script that will build an executable SBCL Lisp image. - sbcl --load build.lisp - + cd ~/path/to/imbricate.git + clpm bundle install # if this fails, make sure quicklisp is synced + clpm bundle exec -- sbcl --load build.lisp + mv imbricate ~/.local/bin/ + From there you can use the imbricate command like so # SOURCE TARGET TITLE -- cgit v1.2.3