Recently Written · git

asdf-registration

Register your asdf projects with the ASDF loader.

git clone https://github.com/equwal/asdf-registration

Log | Files | Refs


install.sh (424 bytes)

1 #!/bin/sh
2 if [ "$CL_INIT" == "" ]
3 then
4    if [ "$ASDF_REPO" == "" ]
5    then
6        echo "Need set export CL_INIT='somepath/some/implementation/file' and ASDF_REPO='some path/' for install to work!"
7        exit 1 # rip.
8    fi
9 fi
10 export ASDF_REGISTRATION_DIR=$(dirname $0)
11 echo "
12 " >> $CL_INIT # literal newline character.
13 cat $ASDF_REGISTRATION_DIR/initfile.lisp >> $CL_INIT
14 echo "
15 " >> $CL_INIT # literal newline character.