Skip to content

Commit

Permalink
Basic ASD
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Feb 4, 2024
1 parent 5a357b4 commit c2c166c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion compile.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ exec sbcl \
--disable-debugger \
--eval "(ql:quickload '(clip shasht pathname-utils) :silent T)" \
--load "$0" \
--eval '(main)' \
--eval '(promptfont-compiler::main)' \
--quit \
--end-toplevel-options "${@:1}"
|#

(defpackage #:promptfont-compiler
(:use #:cl)
(:export))

(in-package #:promptfont-compiler)

(defvar *here* #.(make-pathname :name NIL :type NIL :defaults
(or *compile-file-pathname* *load-pathname* (error "LOAD this file."))))

Expand Down
6 changes: 6 additions & 0 deletions promptfont-compiler.asd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(asdf:defsystem promptfont-compiler
:components ((:file "compile.lisp"))
:build-operation "program-op"
:build-pathname "promptfont-compiler"
:entry-point "promptfont-compiler::main"
:depends-on (:clip :shasht :pathname-utils))

0 comments on commit c2c166c

Please sign in to comment.