diff --git a/README.md b/README.md index 74d7662..bbaa1cd 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ Making a binary requires a Lisp (I recommend SBCL) and Quicklisp Put this repository into your `quicklisp/local-projects/`, then run, in your lisp interpreter: ``` -# (ql:quickload '(eksd eksd-unix)) -# (save-lisp-and-die "eksd" :toplevel #'eksd-unix:invoke :executable t) +# (ql:quickload '(eksd eksd.unix)) +# (save-lisp-and-die "eksd" :toplevel #'eksd.unix:main :executable t) ``` And bam, you've made a binary. Cool. diff --git a/eksd-unix.lisp b/eksd-unix.lisp index 1fb9a42..2ed1f05 100644 --- a/eksd-unix.lisp +++ b/eksd-unix.lisp @@ -1,4 +1,4 @@ -;;;; eksd-unix: UNIX-style cli interface for the xxd-clone eksd. +;;;; eksd.unix: UNIX-style cli interface for the xxd-clone eksd. ;; Copyright © 2019–2024 Jaidyn Ann ;; @@ -15,12 +15,12 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . -(defpackage :eksd-unix +(defpackage :eksd.unix (:use :cl :eksd) - (:export :invoke + (:export :main *text-table*)) -(in-package :eksd-unix) +(in-package :eksd.unix) ;;; ————————————————————————————————————— @@ -77,7 +77,7 @@ ;;; Main - Invocation ;;; ————————————————————————————————————— ;; nil → nil -(defun invoke () +(defun main () "Actual invocation of the program. This is what you should set as :toplevel." (multiple-value-bind (opts free) (opts:get-opts) (when-opt opts :help (help)) diff --git a/eksd.asd b/eksd.asd index 992f2f0..f760999 100755 --- a/eksd.asd +++ b/eksd.asd @@ -7,7 +7,7 @@ :depends-on () :components ((:file "eksd"))) -(defsystem "eksd-unix" +(defsystem "eksd.unix" :version "0.11" :license "GPLv3" :author "Jaidyn Ann "