Created
December 11, 2012 16:54
-
-
Save boxxxie/4260243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns clojure-api.configvention | |
(:require [fs.core :as fs])) | |
(def config-files [ "../../../src/app.js.defaults.config.json" | |
"../../../src/app.js.config.json"]) | |
(defn load-config [] (map slurp config-files)) | |
throws error -> | |
------------------------------------------------------ | |
lib names inside prefix lists must not contain periods | |
[Thrown class java.lang.Exception] | |
Restarts: | |
0: [QUIT] Quit to the SLIME top level | |
Backtrace: | |
0: core.clj:5250 clojure.core/load-lib | |
1: RestFn.java:142 clojure.lang.RestFn.applyTo | |
2: core.clj:603 clojure.core/apply | |
3: core.clj:5302 clojure.core/load-libs | |
4: RestFn.java:137 clojure.lang.RestFn.applyTo | |
5: core.clj:603 clojure.core/apply | |
6: core.clj:5381 clojure.core/require | |
7: RestFn.java:408 clojure.lang.RestFn.invoke | |
8: configvention.clj:1 clojure-api.configvention/eval1979[fn] | |
9: configvention.clj:1 clojure-api.configvention/eval1979 | |
--more-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment