forked from cert-lv/pastelyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpastelyzer.asd
86 lines (85 loc) · 3.51 KB
/
pastelyzer.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
(defsystem "pastelyzer"
:description "Leak analyser"
:author "Jānis Džeriņš <[email protected]>"
:version (:read-file-form "src/vars.lisp" :at (1 2))
:license "Zlib"
:long-description "Monitor data posted on the interwebs -- mainly
(but not only) on paste sites."
:build-operation program-op
:build-pathname "bin/pastelyzer"
:entry-point "pastelyzer:run-standalone"
:depends-on ("alexandria"
"cl-base64"
"cl-log"
"cl-postgres"
"cl-postgres+local-time"
"cl-ppcre"
"cl-smtp"
"cl-speedy-queue"
"cl-who"
"drakma"
"flexi-streams"
"hunchentoot"
"hunchensocket"
"ip"
"jsown"
"postmodern"
"pzmq"
"split-sequence"
"string-case"
(:feature (:not :swank) "swank")
(:feature (:not (:or :sbcl :ccl)) "trivial-utf-8")
(:feature :sbcl (:require "sb-concurrency"))
(:feature :sbcl "chipz")
(:feature (:not :sbcl) "chanl"))
:components ((:module "src"
:serial t
:components ((:file "package")
(:file "vars")
(:file "sys")
(:file "compat")
(:file "util")
(:file "fmt")
(:file "log")
(:file "deflate"
:if-feature (:and (:not :sbcl) (:not :quicklisp)))
(:file "db")
(:file "circl-zmq")
(:file "circl-paste")
(:file "job")
(:file "processing")
(:module "config"
:serial t
:components ((:file "package")
(:file "sink")
(:file "filter")
(:file "context")
(:file "loader")
(:file "util")
(:file "sets")
(:file "smtp")
(:file "cmd" :if-feature :sbcl)))
(:file "server")
(:file "json-api")
(:file "rest")
(:module "modules"
:components ((:file "misp")))
(:file "cli")
(:file "pastelyzer"))))
:in-order-to ((test-op (test-op "pastelyzer/tests"))))
(defsystem "pastelyzer/tests"
:depends-on ("alexandria"
"2am"
"pastelyzer")
:pathname "tests/"
:components ((:file "package")
(:file "processing" :depends-on ("package"))
(:file "util" :depends-on ("package"))
(:file "circl-paste" :depends-on ("package"))
(:module "config"
:depends-on ("package")
:components ((:file "filter")
(:file "sets")))
(:file "suites" :depends-on ("package" "config")))
:perform (test-op (o c)
(symbol-call '#:2am '#:run 't)))