Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (19 sloc) 0.605 kb
(ns org.enclojure.ide.analyze.files
(:use clojure.test org.enclojure.ide.analyze.files)
)
(def --base-dir--
"/Users/ericthor/Dev/enclojure/")
(def --test-files--
(filter #(.endsWith (.getPath %) ".clj")
(file-seq (java.io.File. --base-dir--))))
(defn do-analyze-file [fname]
(with-open [f (java.io.FileInputStream.
fname)]
(try
(analyze-file f "clj" {})
(catch Throwable t
(println (.getMessage t))
t))))
(defn collect-parse-errors []
(filter #(instance? Throwable %)
(into [] (map do-analyze-file --test-files--))))
Jump to Line
Something went wrong with that request. Please try again.