Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (44 sloc) 1.64 KB
(set-env!
:resource-paths #{"src" "data"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[nightlight "1.7.2" :scope "test"]
[adzerk/boot-test "1.2.0" :scope "test"]
[org.nd4j/nd4j-native-platform "1.0.0-beta" :scope "provided"]
[org.deeplearning4j/deeplearning4j-core "1.0.0-beta"]
[org.nd4j/nd4j-api "1.0.0-beta"]
[org.datavec/datavec-api "1.0.0-beta"]
[hswick/jutsu.matrix "0.0.15" :scope "test"]]
:repositories (conj (get-env :repositories)
["clojars" {:url "https://clojars.org/repo"
:username (System/getenv "CLOJARS_USER")
:password (System/getenv "CLOJARS_PASS")}]))
(task-options!
jar {:main 'jutsu.ai.core
:manifest {"Description" "Clojure wrapper for deeplearning4j intended to make machine learning on the JVM simpler"}}
pom {:version "0.1.5"
:project 'hswick/jutsu.ai
:description "Clojure wrapper for deeplearning4j intended to make machine learning on the JVM simpler"
:url "https://github.com/hswick/jutsu.ai"}
push {:repo "clojars"})
(deftask deploy []
(comp
(pom)
(jar)
(push)))
(require
'[nightlight.boot :refer [nightlight]]
'[adzerk.boot-test :refer :all])
;;So nightlight can still open even if there is an error in the core file
(try
(require 'jutsu.ai.core)
(catch Exception e (.getMessage e)))
(deftask night []
(comp
(wait)
(nightlight :port 4000)))
(deftask testing [] (merge-env! :source-paths #{"test"}) identity)
(deftask test-code
[]
(comp
(testing)
(test)))