Skip to content

Commit b2bcc90

Browse files
committed
Simplify make-binary function
1 parent 8c3b3d8 commit b2bcc90

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/make-binary.lisp

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
;; using this to make linux binary. Before that, we have to configure asdf
22
;; correctly, so that ASD files can be found.
33

4-
#+win32
5-
(setq asdf:*central-registry*
6-
(append asdf:*central-registry*
7-
'("Z:\\home\\xzpeter\\git-repo\\starwar\\"
8-
"Z:\\home\\xzpeter\\git-repo\\starwar\\lib\\")))
4+
(in-package :starwar)
95

10-
(require "starwar")
11-
(sb-ext:save-lisp-and-die #+unix "starwar-linux"
12-
#+win32 "starwar-win32.exe"
13-
:toplevel #'org.xzpeter.game.starwar:main
14-
:executable t)
6+
(defun make-binary ()
7+
(sb-ext:save-lisp-and-die #+unix "starwar-linux"
8+
#+win32 "starwar-win32.exe"
9+
:toplevel #'starwar:main
10+
:executable t))

0 commit comments

Comments
 (0)