Update gitignore, add requirements to README, rework bob and build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
TAGS
|
||||
bin/
|
||||
/system-index.txt
|
||||
|
||||
@@ -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.
|
||||
|
||||
13
bob.lisp
13
bob.lisp
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user