File tree Expand file tree Collapse file tree 4 files changed +23
-28
lines changed Expand file tree Collapse file tree 4 files changed +23
-28
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ci: build
9
9
build :
10
10
@echo " Building..."
11
11
$(LISP ) $(LISP_ARGS ) --script ' ./scripts/deploy.lisp'
12
- $(LISP ) $(LISP_ARGS ) --script ' ./scripts/build.lisp'
12
+ # $(LISP) $(LISP_ARGS) --script './scripts/build.lisp'
13
13
14
14
download-ql :
15
15
@echo " Downloading Quicklisp..."
Original file line number Diff line number Diff line change 2
2
; ;; Commentary
3
3
; ;; Code
4
4
5
+ (require ' asdf)
6
+
7
+ (load " ~/quicklisp/ setup.lisp" )
8
+ (ql :quickload " clingon" )
9
+ (ql :quickload " copy-directory" )
10
+
11
+ (push ' *default-pathname-defaults* asdf :*central-registry* )
12
+ (asdf :load-system " qob-cli" )
13
+ (asdf :load-system " copy-directory" )
14
+
15
+ ; ;
16
+ ; ;; Util
17
+
18
+ (defun qob-copy-lisp-dir ()
19
+ " Copy `lisp' directory over."
20
+ (when (probe-file " bin/lisp/" )
21
+ (el-lib :el-delete-directory " bin/lisp/" ))
22
+ (copy-directory :copy (el-lib :el-expand-fn " lisp/" )
23
+ (el-lib :el-expand-fn " bin/lisp/" )))
24
+
5
25
(defun qob-delete-exec ()
6
26
" Delete the qob executable."
7
27
; ; Delete executable
Original file line number Diff line number Diff line change 7
7
8
8
; ;; Code
9
9
10
- (require ' asdf)
11
-
12
- (load " ~/quicklisp/ setup.lisp" )
13
- (ql :quickload " clingon" )
14
- (ql :quickload " copy-directory" )
15
-
16
- (push ' *default-pathname-defaults* asdf :*central-registry* )
17
- (asdf :load-system " qob-cli" )
18
- (asdf :load-system " copy-directory" )
19
-
20
10
(load " scripts/_prepare.lisp" )
21
11
22
- ; ;; Copy lisp directory
23
- (progn
24
- (when (probe-file " bin/lisp/" )
25
- (el-lib :el-delete-directory " bin/lisp/" ))
26
- (copy-directory :copy (el-lib :el-expand-fn " lisp/" )
27
- (el-lib :el-expand-fn " bin/lisp/" )))
28
-
12
+ (qob-copy-lisp-dir)
29
13
(qob-delete-exec)
30
14
31
15
; ; Build executable
Original file line number Diff line number Diff line change 7
7
8
8
; ;; Code
9
9
10
- (require ' asdf)
11
-
12
- (load " ~/quicklisp/ setup.lisp" )
13
- (ql :quickload " clingon" )
14
- (ql :quickload " deploy" )
15
-
16
- (push ' *default-pathname-defaults* asdf :*central-registry* )
17
- (asdf :load-system " qob-cli" )
18
- (asdf :load-system " qob-cli/deploy" )
19
-
20
10
(load " scripts/_prepare.lisp" )
21
11
12
+ (qob-copy-lisp-dir)
22
13
(qob-delete-exec)
23
14
24
15
; ; Deploy
You can’t perform that action at this time.
0 commit comments