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

/README.md

https://github.com/michaelklishin/validateur
Markdown | 69 lines | 38 code | 31 blank | 0 comment | 0 complexity | 326598071513c643b8a7ca71157fdf15 MD5 | raw file
  1. # Validateur, a Clojure(Script) Validation Library
  2. Validateur is a [Clojure(Script) validation library](http://clojurevalidations.info) inspired by Ruby's ActiveModel. Validateur is functional: validators are
  3. functions, validation sets are higher-order functions, validation results are returned as values.
  4. ## Supported Clojure versions
  5. Validateur requires Clojure 1.7+/ClojureScript 0.0-2138+.
  6. ## Maven Artifacts
  7. Validateur artifacts are [released to Clojars](https://clojars.org/com.novemberain/validateur).
  8. If you are using Maven, add the following repository definition to your `pom.xml`:
  9. ``` xml
  10. <repository>
  11. <id>clojars.org</id>
  12. <url>http://clojars.org/repo</url>
  13. </repository>
  14. ```
  15. ### The Latest Release
  16. With Leiningen:
  17. [com.novemberain/validateur "2.6.0"]
  18. With Maven:
  19. <dependency>
  20. <groupId>com.novemberain</groupId>
  21. <artifactId>validateur</artifactId>
  22. <version>2.6.0</version>
  23. </dependency>
  24. ## Documentation & Examples
  25. Please refer to the [documentation guides](http://clojurevalidations.info) for Validateur.
  26. Our test suite has usage examples for each validator, built-in validation functions have docstrings.
  27. ## Continuous Integration
  28. [![Continuous Integration status](https://secure.travis-ci.org/michaelklishin/validateur.png)](http://travis-ci.org/michaelklishin/validateur)
  29. ## Development
  30. Validateur uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make
  31. sure you have it installed and then run tests against all supported Clojure versions and a recent release of ClojureScript using
  32. lein all do clean, test
  33. Then create a branch and make your changes on it. Once you are done with your changes and all
  34. tests pass, submit a pull request on Github.
  35. ## License
  36. Copyright (C) 2011-2018 Michael S. Klishin, Alex Petrov, the ClojureWerkz team,
  37. and [contributors](https://github.com/michaelklishin/validateur/graphs/contributors).
  38. Distributed under the Eclipse Public License, the same as Clojure.