-
Notifications
You must be signed in to change notification settings - Fork 2
/
shadow-cljs.edn
66 lines (59 loc) · 1.75 KB
/
shadow-cljs.edn
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
;; shadow-cljs configuration
{:source-paths
["src/" "test/"]
:dependencies
[[cljs-bean "1.9.0"]
[funcool/promesa "11.0.678"]]
:builds
{:simple-client
{:target :node-script
:main dhcp.simple-client/main
:output-to "build/simple-client.js"
;; Don't try and connect back to shadow-cljs process
:devtools {:enabled false :console-support false}
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
:pool-server
{:target :node-script
:main dhcp.json-pool-server/main
:output-to "build/pool-server.js"
;; Don't try and connect back to shadow-cljs process
:devtools {:enabled false :console-support false}
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
:mac2ip-server
{:target :node-script
:main dhcp.mac2ip-server/main
:output-to "build/mac2ip-server.js"
;; Don't try and connect back to shadow-cljs process
:devtools {:enabled false :console-support false}
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
:ping-client
{:target :node-script
:main icmp.ping/main
:output-to "build/ping.js"
;; Don't try and connect back to shadow-cljs process
:devtools {:enabled false :console-support false}
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
:read-pcap
{:target :node-script
:main pcap.core/main
:output-to "build/read-pcap.js"
;; Don't try and connect back to shadow-cljs process
:devtools {:enabled false :console-support false}
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
:test
{:target :node-test
:output-to "build/test.js"
:compiler-options
{:optimizations :simple
:source-map-use-fs-paths true}}
}}