aboutsummaryrefslogtreecommitdiffstats
path: root/extreload.asd
blob: 5d1e2cb163db552cb6e8c162701e53a7f89dd98a (plain)
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
;;; Copyright (c) 2021  Teddy Wing
;;;
;;; This file is part of Extreload.
;;;
;;; Extreload is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the License, or
;;; (at your option) any later version.
;;;
;;; Extreload is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with Extreload. If not, see <https://www.gnu.org/licenses/>.


;; SSL is not required for Extreload. Including it can cause a dynamic library
;; load path error if the runtime paths are different from those on the build
;; machine.
(push :websocket-driver-no-ssl *features*)

(asdf:defsystem extreload
  :version "0.0.2"
  :depends-on (:jsown
               :sysexits
               :trivial-timeout
               :unix-opts
               :wait-group
               :with-user-abort
               :websocket-driver-client)
  :components ((:module "src"
                :serial t
                :components ((:file "package")
                             (:file "macro")
                             (:file "config")
                             (:file "option")
                             (:file "call-id")
                             (:file "devtools-protocol")
                             (:file "main"))))

  :build-operation "program-op"
  :build-pathname "extreload"
  :entry-point "extreload:main")

#+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
  (uiop:dump-image (asdf:output-file o c) :executable t :compression t))