aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-02-14 20:39:00 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-02-14 20:39:00 +0000
commitd328bfbbdf0f9853ec600d71c4372e843dcdbf8f (patch)
tree7eedecb26a7022d723f46c5396ec12eee147b030
parentfba391a6e80db15926db79a3cf889ed096fb7849 (diff)
downloadcantedraw-d328bfbbdf0f9853ec600d71c4372e843dcdbf8f.tar.gz
cantedraw-d328bfbbdf0f9853ec600d71c4372e843dcdbf8f.tar.bz2
cantedraw-d328bfbbdf0f9853ec600d71c4372e843dcdbf8f.zip
Adjust Bob so we can use quickload the project to get all dependencies
-rw-r--r--bob.lisp10
-rwxr-xr-xbuild4
2 files changed, 9 insertions, 5 deletions
diff --git a/bob.lisp b/bob.lisp
index d9156d6..993b455 100644
--- a/bob.lisp
+++ b/bob.lisp
@@ -18,16 +18,18 @@
;;; Code:
+(pushnew (truename (uiop:getcwd))
+ ql:*local-project-directories*)
+
(defpackage bob
(:use :cl)
(:export :build :load-all))
(in-package :bob)
-(asdf:load-asd (merge-pathnames "cantedraw.asd" (uiop:getcwd)))
+(defun load-all ()
+ (ql:quickload :cantedraw :verbose t))
(defun build ()
+ (load-all)
(asdf:make :cantedraw))
-
-(defun load-all ()
- (asdf:load-system :cantedraw))
diff --git a/build b/build
index e24c84e..f03b87e 100755
--- a/build
+++ b/build
@@ -1,5 +1,7 @@
#!/usr/bin/env sh
set -xe
-sbcl --load "./bob.lisp" \
+
+sbcl --non-interactive \
+ --load "./bob.lisp" \
--eval "(bob:build)"