aboutsummaryrefslogtreecommitdiff
path: root/wallpaper-switcher.asd
blob: 6df70b7c0e31aba13ebbe94e42bbc3873a048438 (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
(defsystem "wallpaper-switcher"
  :description "Openbox pipe menu that lists wallpapers and sets them with swaybg."
  :author "Christopher R. Nelson <christopher.nelson@languidnights.com>"
  :license "MIT"
  :version "0.1.0"
  :depends-on ("uiop")
  :pathname "src/"
  :serial t
  :components ((:file "package")
               (:file "config")
               (:file "menu")
               (:file "main"))
  :build-operation "program-op"
  :build-pathname "../wallpaper-switcher"
  :entry-point "wallpaper-switcher:main"
  :in-order-to ((test-op (test-op "wallpaper-switcher/tests"))))

(defsystem "wallpaper-switcher/tests"
  :depends-on ("wallpaper-switcher")
  :pathname "t/"
  :components ((:file "tests"))
  :perform (test-op (o c)
             (unless (uiop:symbol-call :wallpaper-switcher/tests :run-tests)
               (error "wallpaper-switcher tests failed"))))