-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcl-manager.asd
38 lines (35 loc) · 1.93 KB
/
cl-manager.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
;;; cl-manager.asd
;;; This Source Code Form is subject to the terms of the Mozilla Public
;;; License, v. 2.0. If a copy of the MPL was not distributed with this
;;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(defsystem "cl-manager"
:author "Sebastian Christ <[email protected]>"
:maintainer "Sebastian Christ <[email protected]>"
:mailto "[email protected]"
:license "MPL-2.0"
:homepage "https://github.com/rudolfochrist/cl-manager"
:bug-tracker "https://github.com/rudolfochrist/cl-manager/issues"
:source-control (:git "https://github.com/rudolfochrist/cl-manager.git")
:version (:read-file-line "version")
:depends-on ((:require "asdf")
(:require "uiop"))
:components ((:file "manager")
(:static-file "templates/boot.lisp"))
:description "A Common Lisp Package/System/Project/Library Manager"
:long-description
#.(uiop:read-file-string
(uiop:subpathname *load-pathname* "README.txt"))
:perform (load-op :before (c o)
(when (= 0 (length (uiop:run-program "command -v git"
:output '(:string :stripped t)
:ignore-error-status t)))
(error "Please install `git'. Refer to https://git-scm.com/ for details."))
(when (= 0 (length (uiop:run-program "command -v curl"
:output '(:string :stripped t)
:ignore-error-status t)))
(error "Please install `curl'. Refer to your system's package manager.")))
:perform (load-op :after (c o)
(uiop:symbol-call :cl-manager :update-index)
(uiop:symbol-call :cl-manager :register-search-functions)
(pushnew :clm *features*)
(pushnew :cl-manager *features*)))