summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2022-01-29 08:16:31 -0600
committerColin Okay <cbeok@protonmail.com>2022-01-29 08:16:31 -0600
commita34579e5774a2fc45a949e92d2806c6d45b03429 (patch)
treeef63ff3c6c921084375c359f4596a04e9311d828
parentc1546994aa54c178ad069188e67dab0c3fc82283 (diff)
update readme to reflect clpm usemaster
-rw-r--r--README.md13
1 files 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