set up compilation of exe
This commit is contained in:
17
main.lisp
17
main.lisp
@@ -4,9 +4,20 @@
|
||||
(defparameter *chronostory-gacha-search-format* "https://chronostory.onrender.com/api/gacha-search?itemId=~a")
|
||||
(defparameter *chronostory-gacha-url-format "https://chronostory.onrender.com/api/gacha-items?gachaId=~a")
|
||||
|
||||
(comment
|
||||
(reload-mob-data)
|
||||
(defun main ()
|
||||
(sb-ext:disable-debugger)
|
||||
(let ((args (rest sb-ext:*posix-argv*)))
|
||||
(when (member "--fail" args :test #'string=)
|
||||
(error "Simulated error!"))))
|
||||
|
||||
(defun create-exe-and-die ()
|
||||
(sb-ext:save-lisp-and-die
|
||||
"lispostory"
|
||||
:toplevel 'lispostory:main
|
||||
:executable t
|
||||
:save-runtime-options :accept-runtime-options))
|
||||
|
||||
(comment
|
||||
(defvar foo nil
|
||||
(setf foo (serapeum/bundle:random-elt *chronostory-mobs*)
|
||||
*chronostory-drops*
|
||||
@@ -22,5 +33,3 @@
|
||||
|
||||
(hash-table-keys (aref (@ *chronostory-spawns* :el-nath) 0))
|
||||
(hash-table-keys (aref *chronostory-drops* 0))))))))
|
||||
|
||||
;; (sb-ext:save-lisp-and-die "my-prog" :toplevel #'show-mobs :executable t)
|
||||
|
||||
Reference in New Issue
Block a user