forked from lfeutre/lcfg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlfe.config.sample
46 lines (46 loc) · 1.82 KB
/
lfe.config.sample
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
#(project (#(meta (#(name cool-thing)
#(description "Cool Thing!")
#(version "4.2.0")
#(id "kl-prj-xk-4")
#(keywords ("LFE", "Library", "API"))
#(maintainers (
(#(name "Alice") #(email "ali@ce.com"))
(#(name "Bob") #(email "bo@b.com"))))
#(repos (
#(github "cool/thing")
#(myhost "darcs://myhost.com/cool/thing-dev")))))
#(deps (#("rvirding/lfe" "develop")
#("lfex/lutil" "master")
"dysinger/lfesl"
"lfex/ltest")))
#(app (#(max-t 1000)
#(registered (my-reged-proc-1 proc-2))
#(modules (kt kt-app kt-sup kt-util))
#(included-applications ())
#(applications (lager))
#(env ())
#(mod $(start-mod (arg-1 arg-2)))
#(start-phases (#(phs1 (arg-1 arg-2))
#(phs2 (arg)))))))
#(cfg-data (#(some (#(thing "else")
#(or "other")
#(can "be")
#(configured "here")))))
`#(opt-1 (,(lutil:get-lfe-version)))
`#(opt-2 (#(data-from-config ,(lcfg:get-in 'local '(cfg-data some can)))))
#(logging (
#(log-level info)
#(backend lager)
#(options (#(lager_console_backend debug)
#(lager_file_backend (
#(file "log/error.log")
#(level error)
#(size 10485760)
#(date "$D0")
#(count 5)))
#(lager_file_backend (
#(file "log/console.log")
#(level info)
#(size 10485760)
#(date "$D0")
#(count 5)))))))