-
Notifications
You must be signed in to change notification settings - Fork 0
/
ledger-asset-prices.asd
51 lines (40 loc) · 1.59 KB
/
ledger-asset-prices.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
38
39
40
41
42
43
44
45
46
47
48
49
50
(asdf:defsystem :ledger-asset-prices
:description "Download asset prices and save them as ledger price file"
:author "Piotr Jaszczyk <piotr.jaszczyk@gmail.com>"
:license "MIT"
:version "0.0.1"
:depends-on (:alexandria :str :jonathan :dexador)
:in-order-to ((asdf:test-op (asdf:test-op :ledger-asset-prices/test)))
:serial t
:components ((:file "package")
(:module "src"
:serial t
:components ((:file "utils")
(:file "conditions")
(:file "fetching")
(:file "formatting")
(:file "core")
(:file "config")
(:file "fetchers/marketstack")))))
(asdf:defsystem :ledger-asset-prices/executable
:build-operation program-op
:build-pathname "fetch-ledger-prices"
:entry-point "ledger-asset-prices.main:main"
:depends-on (:ledger-asset-prices)
:serial t
:components ((:file "package.exec")
(:module "src"
:serial t
:components ((:file "main")))))
(asdf:defsystem :ledger-asset-prices/test
:description "Test suite for ledger-asset-prices"
:author "Piotr Jaszczyk <piotr.jaszczyk@gmail.com>"
:license "MIT"
:depends-on (:ledger-asset-prices :1am)
:serial t
:components ((:file "package.test")
(:module "test"
:serial t
:components ((:file "tests"))))
:perform (asdf:test-op (op system)
(funcall (read-from-string "ledger-asset-prices.test:run-tests"))))