Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AOT compile tools.reader for version guarantees
Older versions of clojure.tools.reader increase all line numbers by one. This results in odd looking reports where you have comments or blank lines showing as missing test coverage or weirder still as being covered if you have one of these older versions of clojure.tools.reader being pulled in transitively by another dependency. AOT compilation of tools.reader is necessary because configuring :exclusions for tools.reader on those dependencies which pull in the old version is ineffective when that dependency is using AOT (case in point: riemann). Unfortunately leiningen isn't doing the smart thing of using the newer but uncompiled version of a dependency yet. The only work around is fragile and untenable with a CI service. See the following github issues for more info: technomancy/leiningen#1879 technomancy/leiningen#1858
- Loading branch information