-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkaitai-struct-clisp-runtime.asd
52 lines (47 loc) · 1.75 KB
/
kaitai-struct-clisp-runtime.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;; System definition for kaitai-struct-clisp-runtime
;; A runtime for the Kaitai parsing framework
;; Features for the system
;; Disable floating support for now
;; Parsing negative infinity values is not working
;; (push :floating-point cl:*features*)
;; system definition for the runtime, including the base kaitai-stream
;; and kaitai-struct classes.
(defsystem "kaitai-struct-clisp-runtime"
:version "0.1.0"
:author "Joshua Gerrish <jgerrish@gmail.com>"
:license "MIT"
:depends-on ()
:components ((:module "src"
:components
((:file "utils")
(:file "kaitai-stream")
(:file "kaitai-struct"))))
:description "Common LISP Runtime for Kaitai"
:in-order-to ((test-op (test-op "kaitai-struct-clisp-runtime/tests"))))
;; system definition for tests using rove
(defsystem "kaitai-struct-clisp-runtime/tests"
:author "Joshua Gerrish <jgerrish@gmail.com>"
:license "MIT"
:depends-on ("kaitai-struct-clisp-runtime"
"rove")
:components ((:module "tests"
:components
((:file "utils")
(:file "kaitai-stream")
(:file "kaitai-struct"))))
:description "Test system for kaitai-struct-clisp-runtime"
:perform (test-op (op c) (symbol-call :rove :run c)))
;;
;; This is the system definition for tests using fiveam
;;
;; (defsystem "kaitai-struct-clisp-runtime/tests"
;; :author "Joshua Gerrish <jgerrish@gmail.com>"
;; :license "MIT"
;; :depends-on ("kaitai-struct-clisp-runtime"
;; "fiveam")
;; :components ((:module "tests"
;; :components
;; ((:file "kaitai-stream")
;; (:file "kaitai-struct"))))
;; :description "Test system for kaitai-struct-clisp-runtime"
;; :perform (test-op (o c) (symbol-call :fiveam '#:run! :foobar)))