File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,10 @@ the `qob-start' execution.")
292
292
" Non-nil when flag is on (`-a', `--all')."
293
293
(qob--flag " --all" ))
294
294
295
+ (defun qob-dev-p ()
296
+ " Non-nil when flag is on (`--dev')."
297
+ (qob--flag " --dev" ))
298
+
295
299
(defun qob-no-color-p ()
296
300
" Non-nil when flag is on (`--no-color')."
297
301
(qob--flag " --no-color" ))
Original file line number Diff line number Diff line change 51
51
52
52
(defun qob-install-deps--by-system-name (name)
53
53
" Install dependencies by system's NAME."
54
- (let* ((system (asdf :find-system name))
55
- (deps (asdf :system-depends-on system)))
56
- (qob-install-systems deps)))
54
+ (when name
55
+ (let* ((system (asdf :find-system name))
56
+ (deps (asdf :system-depends-on system)))
57
+ (qob-install-systems deps))))
57
58
58
59
(qob-start
59
60
(let ((systems (qob-args))
60
- (primary-system (qob-primary-system-entry)))
61
+ (primary-system (qob-primary-system-entry))
62
+ (primary-test-system (qob-primary-test-system-entry)))
61
63
(cond
62
64
; ; If specified system(s).
63
65
(systems
64
66
(dolist (system-name systems)
65
67
(qob-install-deps--by-system-name system-name)))
66
68
; ; Print primary system.
67
69
(primary-system
68
- (qob-install-deps--by-system-name (car primary-system)))
70
+ (qob-install-deps--by-system-name (car primary-system))
71
+ (when (qob-dev-p)
72
+ (qob-install-deps--by-system-name (car primary-test-system))))
69
73
; ; Print help.
70
74
(t
71
75
(qob-help " core/install-deps" )))))
Original file line number Diff line number Diff line change 72
72
(nconc opts ` (" --global" )))
73
73
(when (clingon :getopt cmd :all )
74
74
(nconc opts ` (" --all" )))
75
+ (when (clingon :getopt cmd :dev )
76
+ (nconc opts ` (" --dev" )))
75
77
(when (clingon :getopt cmd :no-color )
76
78
(nconc opts ` (" --no-color" )))
77
79
(when (clingon :getopt cmd :compression )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ qob dists
38
38
qob list
39
39
40
40
# Preparation
41
- qob install-deps
41
+ qob install-deps --dev
42
42
qob package
43
43
44
44
# Development
You can’t perform that action at this time.
0 commit comments