-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
lein type check-cljs can't find the namespaces if they aren't in the clojure source path:
(defproject health "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:min-lein-version "2.5.0"
:dependencies [[org.clojure/clojure "1.6.0"]
[compojure "1.2.1"]
[ring/ring-defaults "0.1.2"]
[ring "1.2.2"]
[org.clojure/clojurescript "0.0-2322"]
[om "0.8.0-alpha1"]
[sablono "0.2.22"]
[hiccup "1.0.5"]
[garden "1.2.5"]]
:plugins [[lein-ring "0.8.13"]
[lein-ancient "0.5.5"]
[lein-kibit "0.0.8"]
[jonase/eastwood "0.1.4"]
[lein-bikeshed "0.1.8"]
[lein-cloverage "1.0.2"]
[lein-typed "0.3.5"]
[lein-cljsbuild "1.0.3"]
[lein-figwheel "0.1.5-SNAPSHOT"]
[com.cemerick/clojurescript.test "0.3.1"]
[cider/cider-nrepl "0.8.0-SNAPSHOT"]
[lein-garden "0.2.4"]]
;; this might be redundant now we are starting the app manually?
;; do not remove it though as it might be used for lein war!
:ring {:handler health.core.handler/app}
:source-paths ["src/clj"]
:test-paths ["test/clj"]
:profiles
{:dev {:repl-options {:init-ns health.core.handler}
:plugins [[com.cemerick/austin "0.1.4"]]
:dependencies [[javax.servlet/servlet-api "2.5"]
[ring-mock "0.1.5"]
[pjstadig/humane-test-output "0.6.0"]
[org.clojure/core.typed "0.2.72"]
[figwheel "0.1.5-SNAPSHOT"]]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}}
:core.typed {:check [health.core.handler]
:check-cljs [health.ui.patients]}
:cljsbuild {
:builds [{:source-paths ["src/cljs"]
:compiler {
:output-to "resources/public/out/main.js"
:output-dir "resources/public/out"
:optimizations :none
:source-map true}}
;; THIS id must match the test-commands so 'lein cljsbuild test unit-tests' works.
{:id "unit-tests"
:source-paths ["src/cljs" "test/cljs"]
:compiler {
:output-to "resources/public/out-test/main.js"
:output-dir "resources/public/out-test"
:optimizations :simple}}]
:test-commands {"unit-tests" ["phantomjs" :runner
"resources/public/out-test/goog/base.js"
"http://fb.me/react-0.11.1.js"
"resources/public/out-test/main.js"]}}
:figwheel {
:http-server-root "public" ;; this will be in resources/
:server-port 3449 ;; default
;; CSS reloading (optional)
;; :css-dirs has no default value
;; if :css-dirs is set figwheel will detect css file changes and
;; send them to the browser
:css-dirs ["resources/public/css"]
;; Server Ring Handler (optional)
;; if you want to embed a ring handler into the figwheel http-kit
;; server
:ring-handler health.core.handler/app}
:garden {:builds [{ ;; Source paths where the stylesheet source code is
:source-paths ["src/clj"]
;; The var containing your stylesheet:
:stylesheet health.ui/health-css
;; Compiler flags passed to `garden.core/css`:
:compiler {;; Where to save the file:
:output-to "resources/public/css/out/health.css"
;; Compress the output?
:pretty-print? true}}]}
:aliases {"health-check" ["do" "clean," "ancient,"
"kibit," "eastwood," "bikeshed," "cloverage,"
"typed" "check"]})
Metadata
Metadata
Assignees
Labels
No labels