#!/bin/bash
# This script builds a verion of sbcl with the libraries pre loaded
-# Remember to update bin/buildosxsbcl when you update this.
mkdir -p tmp/sbcl
SBCL_HOME="" tmp/sbcl/bin/sbcl --core tmp/sbcl/lib/sbcl/sbcl.core \
--eval "(require 'asdf)" \
- --eval "(asdf:initialize-source-registry '(:source-registry (:tree \"${PWD}/tmp/deps\") (:tree \"${PWD}/src/main\") :IGNORE-INHERITED-CONFIGURATION))" \
+ --eval "(asdf:initialize-source-registry '(:source-registry (:tree \"${PWD}/tmp/deps\") (:tree \"${PWD}/\") :IGNORE-INHERITED-CONFIGURATION))" \
--eval "(asdf:load-system :clnl)" \
--eval "(asdf:load-system :clnl-extension-cli)" \
--eval "(asdf:clear-output-translations)" \