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
|
TAGS
|
||||||
bin/
|
bin/
|
||||||
|
/system-index.txt
|
||||||
|
|||||||
@@ -16,3 +16,11 @@ Goals:
|
|||||||
- Games may have up to 12 players
|
- Games may have up to 12 players
|
||||||
- Games may include bots
|
- Games may include bots
|
||||||
- Bots have different ranks of difficulty
|
- 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;; Little bit of code scaffolding that makes it easy to load or build the
|
;; Code scaffolding to make loading/building the system easy. Named after "Bob
|
||||||
;; system. Named after "Bob the Builder".
|
;; the Builder".
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
;; Try and push the current directory into the quicklisp project directories.
|
||||||
(pushnew (truename (uiop:getcwd))
|
(pushnew (truename (uiop:getcwd))
|
||||||
ql:*local-project-directories*)
|
ql:*local-project-directories*)
|
||||||
|
|
||||||
@@ -27,9 +28,13 @@
|
|||||||
|
|
||||||
(in-package :bob)
|
(in-package :bob)
|
||||||
|
|
||||||
|
(defun init ()
|
||||||
|
(ql:quickload :cantedraw))
|
||||||
|
|
||||||
(defun load-all ()
|
(defun load-all ()
|
||||||
(ql:quickload :cantedraw :verbose t))
|
(init)
|
||||||
|
(asdf:load-system :cantedraw))
|
||||||
|
|
||||||
(defun build ()
|
(defun build ()
|
||||||
(load-all)
|
(init)
|
||||||
(asdf:make :cantedraw))
|
(asdf:make :cantedraw))
|
||||||
|
|||||||
Reference in New Issue
Block a user