Update gitignore, add requirements to README, rework bob and build

This commit is contained in:
2025-02-14 21:41:21 +00:00
parent f0e7c9f3f0
commit f127e1e955
4 changed files with 19 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
TAGS
bin/
/system-index.txt

View File

@@ -16,3 +16,11 @@ Goals:
- Games may have up to 12 players
- Games may include bots
- Bots have different ranks of difficulty
Requirements:
- Steele Bank Common Lisp (http://www.sbcl.org/)
- Quick Lisp (https://www.quicklisp.org/beta/)
Run:
$ ./build
to compile the program.

View File

@@ -13,11 +13,12 @@
;;; Commentary:
;; Little bit of code scaffolding that makes it easy to load or build the
;; system. Named after "Bob the Builder".
;; Code scaffolding to make loading/building the system easy. Named after "Bob
;; the Builder".
;;; Code:
;; Try and push the current directory into the quicklisp project directories.
(pushnew (truename (uiop:getcwd))
ql:*local-project-directories*)
@@ -27,9 +28,13 @@
(in-package :bob)
(defun init ()
(ql:quickload :cantedraw))
(defun load-all ()
(ql:quickload :cantedraw :verbose t))
(init)
(asdf:load-system :cantedraw))
(defun build ()
(load-all)
(init)
(asdf:make :cantedraw))

1
build
View File

@@ -2,6 +2,7 @@
set -xe
rm -f ./bin/cantedraw
sbcl --non-interactive \
--load "./bob.lisp" \
--eval "(bob:build)"