aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2009-02-22 02:25:07 +0000
committerStuart Sierra <mail@stuartsierra.com>2009-02-22 02:25:07 +0000
commit8004959e42d781eff71810013df0ff19ed93ad7a (patch)
treed72dd1af55bce2f0d29f1a1e88a96b66e68bbc20 /src
parent8cd98884452912454d297f217e0840d84553c49c (diff)
load_all.clj: added file that attempts to load all contrib libs
Libs that fail under current Clojure SVN are commented out.
Diffstat (limited to 'src')
-rw-r--r--src/clojure/contrib/load_all.clj94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/clojure/contrib/load_all.clj b/src/clojure/contrib/load_all.clj
new file mode 100644
index 00000000..adfb51c9
--- /dev/null
+++ b/src/clojure/contrib/load_all.clj
@@ -0,0 +1,94 @@
+;;; load_all.clj - loads all contrib libraries for testing purposes
+
+;; by Stuart Sierra, http://stuartsierra.com/
+;; February 21, 2009
+
+;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use
+;; and distribution terms for this software are covered by the Eclipse
+;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
+;; which can be found in the file epl-v10.html at the root of this
+;; distribution. By using this software in any fashion, you are
+;; agreeing to be bound by the terms of this license. You must not
+;; remove this notice, or any other, from this software.
+
+
+;; This file simple attempts to "require" every library in
+;; clojure-contrib. The names of all contrib libs (minus the
+;; "clojure.contrib" part) are in *all-contrib-libs*. Libraries which
+;; throw errors when loading under the latest trunk SVN revisions of
+;; Clojure and clojure-contrib are commented out.
+;;
+;; This is only intended to check that the libraries will load without
+;; errors, not that they work correctly. If the libraries have tests
+;; defined using test-is, you can run them with:
+;;
+;; (clojure.contrib.test-is/run-all-tests)
+;;
+;; If you write a new lib, please add it to the list in this file.
+
+
+(ns clojure.contrib.load-all)
+
+(def *all-contrib-libs* '[
+accumulators
+apply-macro
+auto-agent
+;; combinatorics
+command-line
+cond
+;; condt
+def
+duck-streams
+;; enum
+error-kit
+except
+fcase
+import-static
+javadoc.browse
+javadoc
+javalog
+json.read
+json.write
+lazy-seqs
+lazy-xml
+macros
+math
+;; miglayout
+mmap
+monads
+ns-utils
+probabilities.dist
+prxml
+repl-ln
+repl-utils
+seq-utils
+server-socket
+set
+shell-out
+sql
+stacktrace
+str-utils
+;; stream-utils
+template
+test-is
+test-is.tests
+test-clojure.agents
+test-clojure.data-structures
+test-clojure.evaluation
+test-clojure.for
+test-clojure.logic
+test-clojure.main
+test-clojure.numbers
+test-clojure.predicates
+test-clojure.printer
+test-clojure.reader
+test-clojure.sequences
+test-contrib.shell-out
+test-contrib.str-utils
+trace
+walk
+zip-filter
+])
+
+(doseq [name *all-contrib-libs*]
+ (require (symbol (str "clojure.contrib." name))))