71e609c8a1
lein run tries to support invoking static methods on classes by swallowing FileNotFoundExceptions when requiring the namespace to run, which can obscure the real error when there's a real issue loading a namespace. Phil said he wasn't interested in keeping the (undocumented) feature around, so the easiest fix to the error message problem was to remove that feature. Added a test as well.
7 lines
296 B
Clojure
7 lines
296 B
Clojure
(defproject bad-require "0.1.0-SNAPSHOT"
|
|
:description "FIXME: write description"
|
|
:url "http://example.com/FIXME"
|
|
:license {:name "Eclipse Public License"
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
|
:dependencies [[org.clojure/clojure "1.5.1"]]
|
|
:main bad-require.core)
|