/src/main/clojure/clojure/contrib/load_all.clj
Clojure | 91 lines | 58 code | 8 blank | 25 comment | 1 complexity | f54d7c23b2c170e22877a05b706ab7b0 MD5 | raw file
- ;;; 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.test/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
- combinatorics
- command-line
- complex-numbers
- cond
- def
- io
- error-kit
- except
- fcase
- generic
- generic.arithmetic
- generic.collection
- generic.comparison
- generic.functor
- generic.math-functions
- import-static
- jar
- ;; javadoc - moved to repl-utils
- javadoc.browse
- ;; javalog
- json.read
- json.write
- lazy-seqs
- lazy-xml
- macro-utils
- macros
- math
- miglayout
- mmap
- monads
- ns-utils
- pprint
- probabilities.finite-distributions
- probabilities.monte-carlo
- probabilities.random-numbers
- prxml
- repl-ln
- repl-utils
- seq
- server-socket
- set
- shell
- sql
- string
- string
- stream-utils
- swing-utils
- test-contrib
- test-contrib.shell
- test-contrib.string
- trace
- types
- zip-filter
- ])
- (doseq [name *all-contrib-libs*]
- (require (symbol (str "clojure.contrib." name))))