Skip to content

Instantly share code, notes, and snippets.

@boxxxie boxxxie/gist:4260243
Created Dec 11, 2012

Embed
What would you like to do?
(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
You can’t perform that action at this time.