This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
120 lines (110 loc) · 5.51 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
(defproject kosa "0.1.0-SNAPSHOT"
:description "The Pariyatti Library"
:url "http://github.com/pariyatti/kosa"
:license {:name "GNU Affero General Public License 3.0"
:url "https://www.gnu.org/licenses/agpl-3.0.en.html"}
:dependencies [[org.clojure/clojure "1.11.1"]
[org.clojure/data.json "1.0.0"]
[org.clojure/spec.alpha "0.2.187"]
[org.clojure/tools.cli "1.0.194"]
[org.clojure/tools.logging "1.1.0"]
[org.clojure/algo.monads "0.1.6"]
[medley "1.4.0"]
;; logging:
[fancy "0.2.3"]
[ch.qos.logback/logback-classic "1.2.3"]
[ch.qos.logback/logback-core "1.2.3"]
[org.slf4j/slf4j-api "1.7.30"]
;; system:
[mount "0.1.16"]
[tolitius/mount-up "0.1.3"]
[aero "1.1.6"]
[tick "0.4.30-alpha"]
[jarohen/chime "0.3.2"]
[babashka/fs "0.0.3"]
;; networking:
[http-kit "2.7.0"]
[camdez/sendgrid "0.2.0"]
;; web:
;; [pro.juxt.clojars-mirrors.ring/ring-core "1.9.2"]
[ring/ring-core "1.9.5"]
[ring/ring-jetty-adapter "1.9.5"]
[ring/ring-json "0.5.1"]
[ring-logger "1.0.1"]
[metosin/reitit "0.5.18"]
[metosin/muuntaja "0.6.8"]
[metosin/jsonista "0.2.7"] ;; force version: reitit / muuntaja dep
[hiccup "2.0.0-alpha2"]
[remus "0.2.1"]
;; data:
[buddy/buddy-core "1.10.1"]
[buddy/buddy-auth "3.0.1"]
[buddy/buddy-hashers "1.8.1"]
[com.xtdb/xtdb-core "1.21.0"]
[com.xtdb/xtdb-rocksdb "1.21.0"]
[com.xtdb/xtdb-lucene "1.21.0"]
[com.xtdb/xtdb-http-server "1.21.0"]
[joplin.core "0.3.11"]
[org.pariyatti/joplin.xtdb "0.0.4"]
;; clojurescript
[org.clojure/clojurescript "1.10.191"]
[org.clojure/core.async "1.3.610"]
;; [reagent "1.0.0"] ;; conflicts with reagent-forms
[reagent-forms "0.5.23"]
[json-html "0.3.5"]
[lambdaisland/uri "1.4.54"] ;; uri is a fetch dep
[lambdaisland/fetch "0.0.23"]]
:plugins [[lein-scss "0.3.0"]
[lein-cljsbuild "1.1.8"]
[reifyhealth/lein-git-down "0.4.0"]]
:middleware [lein-git-down.plugin/inject-properties]
:repositories [["public-github" {:url "git://github.com"}]]
:git-down {org.pariyatti/joplin.xtdb {:coordinates pariyatti/joplin.xtdb}}
:scss {:builds
{:development {:source-dir "resources/scss/"
:dest-dir "resources/public/css/"
:executable "sass"
:args ["--style" "expanded"
;; ignore emacs' .#xyz.scss
"--no-stop-on-error"]}
:production {:source-dir "resources/scss/"
:dest-dir "resources/public/css/"
:executable "sass"
:args ["--style" "compressed"]
:jar true}}}
:cljsbuild {:builds
[{:source-paths ["src-cljs"],
:compiler
{:output-dir "resources/public/cljs/",
:optimizations :none,
:output-to "resources/public/cljs/app.js",
:source-map true,
:pretty-print true}}]}
:main ^:skip-aot kosa.core
:target-path "target/%s"
:aliases {"db-migrate" ["run" "-m" "joplin.xtdb.alias/migrate" "joplin/config.edn"]
"db-seed" ["run" "-m" "joplin.xtdb.alias/seed" "joplin/config.edn"]
"db-rollback" ["run" "-m" "joplin.xtdb.alias/rollback" "joplin/config.edn"]
"db-reset" ["run" "-m" "joplin.xtdb.alias/reset" "joplin/config.edn"]
"db-pending" ["run" "-m" "joplin.xtdb.alias/pending" "joplin/config.edn"]
"db-create" ["run" "-m" "joplin.xtdb.alias/create" "joplin/config.edn" "dev" "xtdb-dev"]
"db-txt-trunc" ["run" "-m" "dev.alias/truncate-txt!"]
"db-txt-pali" ["run" "-m" "dev.alias/ingest-txt-pali!"]
"db-txt-buddha" ["run" "-m" "dev.alias/ingest-txt-buddha!"]
"db-txt-doha" ["run" "-m" "dev.alias/ingest-txt-doha!"]}
:repl-options {:init-ns dev.repl}
:jvm-opts ["--add-opens=java.base/java.util.concurrent=ALL-UNNAMED"]
:profiles {:uberjar {:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"
"-Dclojure.tools.logging.factory=clojure.tools.logging.impl/slf4j-factory"]}
:prod {:resource-paths ["config/prod"]}
:dev {:dependencies [[org.clojure/test.check "1.1.0"]]
:resource-paths ["config/dev"]}}
:test-selectors {:default (complement :integration)
;; unused at the moment:
:integration :integration
:database :database
:unit (fn [m & _]
(not (or (:integration m)
(:database m))))
:all (constantly true)})