-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
77 lines (77 loc) · 2.63 KB
/
project.clj
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
(defproject systems.billo/async-udp-cli "0.1.0-SNAPSHOT"
:description "A Clojure utility library for faster CLIs with async UDP clients/servers"
:url "https://github.com/billosys/async-udp-cli"
:license {
:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:min-lein-version "2.8.1"
:dependencies [
[clojusc/trifl "0.3.0"]
[org.clojure/clojure "1.9.0"]
[org.clojure/core.async "0.4.474"]
[systems.billo/inet-address "0.1.1"]
[systems.billo/sockets "0.1.1"]]
:profiles {
:ubercompile {
:aot :all}
:lint {
:plugins [
[jonase/eastwood "0.2.8"]
[lein-ancient "0.6.15"]]}
:server-example {
:dependencies [
[clojusc/trifl "0.3.0"]
[clojusc/twig "0.3.2"]
[com.stuartsierra/component "0.3.2"]]
:main billo.example.cli-server}
:clojure {
:source-paths ["src/clj"]}
:client-example {
:dependencies [
[com.taoensso/timbre "4.10.0"]]
:plugins [
[lein-shell "0.5.0"]]}
:clojurescript {
:source-paths ["src/cljs"]
:dependencies [
[org.clojure/clojurescript "1.10.339"]]
:plugins [
[lein-cljsbuild "1.1.7"]]
:cljsbuild {
:builds
[{:id "cli"
:source-paths ["src/cljs"]
:compiler {
:output-to "bin/example"
:output-dir "target/cljs/billo"
:optimizations :simple
:pretty-print true
:main billo.example.cli
:target :nodejs
:verbose true}}]}}}
:aliases {
"ubercompile" ["with-profile" "+ubercompile,+clojure" "uberjar"]
"uberjar" ["with-profile" "+clojure" "uberjar"]
"jar" ["with-profile" "+clojure" "jar"]
"check-vers" ["with-profile" "+lint" "ancient" "check" ":all"]
"check-jars" ["with-profile" "+lint" "do"
["deps" ":tree"]
["deps" ":plugin-tree"]]
"check-deps" ["do"
["check-jars"]
["check-vers"]]
"clean-clj" ["with-profile" "+clojure,+server-example" "clean"]
"clean-cljs" ["with-profile" "+clojurescript,+client-example" "do"
["clean"]
["shell" "rm" "-f" "bin/example"]]
"clean-all" ["do"
["clean-clj"]
["clean-cljs"]]
"example-server" ["with-profile" "+clojure,+server-example" "trampoline" "run"]
"build-cli" ["with-profile" "+clojurescript,+client-example" "do"
["cljsbuild" "once" "cli"]
["shell" "chmod" "755" "bin/example"]]
"clean-build-cli" ["with-profile" "+clojurescript,+client-example" "do"
["clean-cljs"]
["build-cli"]]
"deploy" ["with-profile" "+clojure,+clojurescript" "deploy"]})