               "-k" "lumo_cache"
               "-e" (str "\"(require '[mikron.runtime.core :as mikron "
                         ":refer [schema defschema pack unpack gen valid?]])\"")
-              "-v"
               "-r")))
 
 (deftask generate-docs

(defn proc
  "Runs the args as a shell command."
  [& args]
  (with-pass-thru _
    (-> (ProcessBuilder. args)
        (.inheritIO)
        (.start)
        (.waitFor))))

;; Config


   s self-hosted?     bool "True if self-hosted."]
  (let [opt (or opt :none)]
    (comp (testing)
          (if self-hosted?
            (with-pass-thru fileset
              (proc "lumo"
                    "-c" (str "\"" (System/getProperty "fake.class.path") "\"")
                    "-k" "lumo_cache"
                    (->> fileset
                         (input-files)
                         (map tmp-file)
                         (by-re [#"mikron[\\/]test_runner[\\/]node.cljs"])
                         (first)
                         (.getAbsolutePath))))
            (boot-cljs-test/test-cljs :js-env        :node
                                      :namespaces    cljs-test-namespaces
                                      :optimizations opt
