forked from muyinliu/cl-diskspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cl-diskspace.asd
36 lines (34 loc) · 1.25 KB
/
cl-diskspace.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
;;;; cl-diskspace.asd
;; CFFI-Grovel is needed for processing grovel-file components
(cl:eval-when (:load-toplevel :execute)
(asdf:operate 'asdf:load-op 'cffi-grovel))
(asdf:defsystem #:cl-diskspace
:name "diskspace"
:description "List disks, get disk total/free/usable space information."
:version "0.3.1"
:author "Muyinliu Xing <[email protected]>"
:license "ISC"
:serial t
:depends-on (:cffi
#+(or bsd freebsd linux) :cl-ppcre :uiop)
:components
((:module "src"
:serial t
:components
((:file "packages")
(:file "utils")
#+(or bsd freebsd linux)
(:module "unix"
:serial t
:components
((cffi-grovel:grovel-file "grovel-statvfs")
(:file "cl-diskspace-list-all-disks-with-df")
(:file "cl-diskspace-statvfs")))
#+win32
(:module "win32"
:serial t
:components
((:file "cl-diskspace-load-foreign-library")
(:file "cl-diskspace-get-logical-drives")
(:file "cl-diskspace-get-disk-free-space")))
(:file "common")))))