forked from philhofer/distill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.sld
40 lines (40 loc) · 861 Bytes
/
service.sld
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
(define-library (distill service)
(export
services->packages
named*
service?
make-service
update-service
longrun*
longrun?
oneshot*
oneshot?
bundle*
bundle?
service-name
service-spec
service-after
service-inputs)
(import
scheme
(srfi 26)
(srfi 69)
(srfi 88)
(distill text)
(distill plan)
(distill kvector)
(distill contract)
(distill eprint)
(distill package)
(distill base)
(distill unix)
(distill execline)
(distill filepath))
(cond-expand
(chicken (import
(chicken type)
(only (chicken base) include error intersperse)
(only (chicken irregex) glob->sre irregex-match?)
(only (chicken string) conc)
(only (chicken port) with-output-to-string))))
(include "service.scm"))