PageRenderTime 58ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/clojure/clojure/contrib/load_all.clj

https://github.com/digash/clojure-contrib
Clojure | 91 lines | 58 code | 8 blank | 25 comment | 1 complexity | f54d7c23b2c170e22877a05b706ab7b0 MD5 | raw file
  1. ;;; load_all.clj - loads all contrib libraries for testing purposes
  2. ;; by Stuart Sierra, http://stuartsierra.com/
  3. ;; February 21, 2009
  4. ;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use
  5. ;; and distribution terms for this software are covered by the Eclipse
  6. ;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
  7. ;; which can be found in the file epl-v10.html at the root of this
  8. ;; distribution. By using this software in any fashion, you are
  9. ;; agreeing to be bound by the terms of this license. You must not
  10. ;; remove this notice, or any other, from this software.
  11. ;; This file simple attempts to "require" every library in
  12. ;; clojure-contrib. The names of all contrib libs (minus the
  13. ;; "clojure.contrib" part) are in *all-contrib-libs*. Libraries which
  14. ;; throw errors when loading under the latest trunk SVN revisions of
  15. ;; Clojure and clojure-contrib are commented out.
  16. ;;
  17. ;; This is only intended to check that the libraries will load without
  18. ;; errors, not that they work correctly. If the libraries have tests
  19. ;; defined using test-is, you can run them with:
  20. ;;
  21. ;; (clojure.test/run-all-tests)
  22. ;;
  23. ;; If you write a new lib, please add it to the list in this file.
  24. (ns clojure.contrib.load-all)
  25. (def *all-contrib-libs* '[
  26. accumulators
  27. apply-macro
  28. combinatorics
  29. command-line
  30. complex-numbers
  31. cond
  32. def
  33. io
  34. error-kit
  35. except
  36. fcase
  37. generic
  38. generic.arithmetic
  39. generic.collection
  40. generic.comparison
  41. generic.functor
  42. generic.math-functions
  43. import-static
  44. jar
  45. ;; javadoc - moved to repl-utils
  46. javadoc.browse
  47. ;; javalog
  48. json.read
  49. json.write
  50. lazy-seqs
  51. lazy-xml
  52. macro-utils
  53. macros
  54. math
  55. miglayout
  56. mmap
  57. monads
  58. ns-utils
  59. pprint
  60. probabilities.finite-distributions
  61. probabilities.monte-carlo
  62. probabilities.random-numbers
  63. prxml
  64. repl-ln
  65. repl-utils
  66. seq
  67. server-socket
  68. set
  69. shell
  70. sql
  71. string
  72. string
  73. stream-utils
  74. swing-utils
  75. test-contrib
  76. test-contrib.shell
  77. test-contrib.string
  78. trace
  79. types
  80. zip-filter
  81. ])
  82. (doseq [name *all-contrib-libs*]
  83. (require (symbol (str "clojure.contrib." name))))