commit bd2943dfb83934848009948b42eaaa3df70005f4 Spenser Truex <web@spensertruex.com> 2019-11-09 16:40:09 -0800 Change readme to org-mode. Export advanced function.
README.md | 15 --------------- README.org | 23 +++++++++++++++++++++++ package.lisp | 3 ++- 3 files changed, 25 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md deleted file mode 100644 index f30964a..0000000 --- a/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# asdf-registration - -Register you directories in the ASDF subsystem. ASDF probably has a better way -to do it, but this one works. - -# Install - -Run the install script. If it complains, set $CL_INIT and $ASDF_REPO. -```bash -git clone git@github.com:equwal/asdf-registration.git -export CL_INIT="$HOME/.sbclrc" # for some SBCLs only. -export ASDF_REPO="$HOME/common-lisp" # This is where mine is. -sh asdf-registration/install.sh -``` -Add as many `asdf-registration:add-repo` lines as you need. The subdirectories will be added to the ASDF registry. diff --git a/README.org b/README.org new file mode 100644 index 0000000..085d8e0 --- /dev/null +++ b/README.org @@ -0,0 +1,23 @@ +#+title: ASDF-registration +#+author: Spenser Truex +#+email: web@spensertruex.com +Register you directories in the ASDF subsystem. probably has a better way +to do it, but this one works. Uses the central registry and a + +* Install +Run the install script. If it complains, set =$CL_INIT= and =$ASDF_REPO=. +#+begin_src shell +git clone git@github.com:equwal/asdf-registration.git +export CL_INIT="$HOME/.sbclrc" # for some SBCLs only. +export ASDF_REPO="$HOME/common-lisp" # This is where mine is. +sh asdf-registration/install.sh +#+end_src +* Advanced install +** More than one repository + Add =asdf-registration:add-repo= lines to your init file. The subdirectories + will be added to the ASDF registry. +** Directories not in a repository + For an ASDF project not inside of a repository directory, use + =asdf-registration:add-to-registry=. +* Guts + ASDF-registration is a wrapper around the =*central-registry*=. diff --git a/package.lisp b/package.lisp index fbc242e..11b5d17 100644 --- a/package.lisp +++ b/package.lisp @@ -1,3 +1,4 @@ (defpackage #:asdf-registration (:use #:cl) - (:export #:add-repo)) + (:export #:add-repo + #:add-to-registry))