2016-07-08 19:49:55 +00:00
|
|
|
(defproject datomish "0.1.0-SNAPSHOT"
|
2016-07-05 19:05:49 +00:00
|
|
|
:description "A persistent, embedded knowledge base inspired by Datomic and DataScript."
|
|
|
|
:url "https://github.com/mozilla/datomish"
|
|
|
|
:license {:name "Mozilla Public License Version 2.0"
|
2016-07-06 01:55:55 +00:00
|
|
|
:url "https://github.com/mozilla/datomish/blob/master/LICENSE"}
|
2016-07-06 01:13:29 +00:00
|
|
|
:dependencies [[org.clojure/clojurescript "1.9.89"]
|
2016-07-11 23:48:40 +00:00
|
|
|
[org.clojure/clojure "1.8.0"]
|
|
|
|
[org.clojure/core.async "0.2.385"]
|
2016-07-06 23:53:08 +00:00
|
|
|
[datascript "0.15.1"]
|
2016-08-05 20:06:42 +00:00
|
|
|
[honeysql "0.8.0"]
|
2016-08-07 05:59:52 +00:00
|
|
|
[com.datomic/datomic-free "0.9.5359"]
|
2016-07-11 23:48:40 +00:00
|
|
|
[jamesmacaulay/cljs-promises "0.1.0"]]
|
2016-07-06 01:13:29 +00:00
|
|
|
|
2016-07-06 01:55:55 +00:00
|
|
|
:cljsbuild {:builds {:release {
|
|
|
|
:source-paths ["src"]
|
|
|
|
:assert false
|
|
|
|
:compiler {:output-to "release-js/datomish.bare.js"
|
|
|
|
:optimizations :advanced
|
|
|
|
:pretty-print false
|
|
|
|
:elide-asserts true
|
|
|
|
:output-wrapper false
|
|
|
|
:parallel-build true}
|
|
|
|
:notify-command ["release-js/wrap_bare.sh"]}
|
|
|
|
:advanced {:source-paths ["src"]
|
|
|
|
:compiler {:output-to "target/advanced/datomish.js"
|
|
|
|
:optimizations :advanced
|
|
|
|
:source-map "target/advanced/datomish.js.map"
|
|
|
|
:pretty-print true
|
2016-07-13 23:16:31 +00:00
|
|
|
:recompile-dependents true
|
2016-07-06 01:55:55 +00:00
|
|
|
:parallel-build true
|
|
|
|
}}
|
|
|
|
:test {
|
|
|
|
:source-paths ["src" "test"]
|
|
|
|
:compiler {:output-to "target/test/datomish.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:main datomish.test
|
|
|
|
:optimizations :none
|
|
|
|
:source-map true
|
2016-07-13 23:16:31 +00:00
|
|
|
:recompile-dependents true
|
2016-07-06 01:55:55 +00:00
|
|
|
:parallel-build true
|
|
|
|
:target :nodejs
|
|
|
|
}}
|
|
|
|
}
|
|
|
|
}
|
2016-07-06 01:13:29 +00:00
|
|
|
|
2016-07-08 19:44:57 +00:00
|
|
|
:profiles {:dev {:dependencies [[cljsbuild "1.1.3"]
|
2016-07-12 05:02:53 +00:00
|
|
|
[tempfile "0.2.0"]
|
2016-07-08 19:44:57 +00:00
|
|
|
[com.cemerick/piggieback "0.2.1"]
|
|
|
|
[org.clojure/tools.nrepl "0.2.10"]
|
2016-07-12 05:02:53 +00:00
|
|
|
[org.clojure/java.jdbc "0.6.2-alpha1"]
|
|
|
|
[org.xerial/sqlite-jdbc "3.8.11.2"]]
|
2016-08-19 16:20:50 +00:00
|
|
|
:jvm-opts ["-Xss4m"]
|
2016-07-06 01:13:29 +00:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
|
2016-07-08 19:44:57 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.3"]
|
2016-07-06 01:55:55 +00:00
|
|
|
[lein-doo "0.1.6"]]
|
|
|
|
}}
|
|
|
|
|
|
|
|
:doo {:build "test"}
|
2016-07-06 01:13:29 +00:00
|
|
|
|
|
|
|
:clean-targets ^{:protect false} ["target"
|
|
|
|
"release-js/datomish.bare.js"
|
|
|
|
"release-js/datomish.js"]
|
|
|
|
)
|