Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cabalized.

  • Loading branch information...
commit 9b387fefa85f38f2d17392e6a1ba9ac1738ed4ab 1 parent d398a93
@sol authored
Showing with 53 additions and 0 deletions.
  1. +19 −0 LICENSE
  2. +3 −0  Setup.lhs
  3. +31 −0 doctest.cabal
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2009 Simon Hengel <simon.hengel@web.de>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
3  Setup.lhs
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
View
31 doctest.cabal
@@ -0,0 +1,31 @@
+name: doctest
+version: 0.0.0
+stability: experimental
+synopsis: Test interactive Haskell examples
+description: Doctest checks examples in source code comments.
+ It is modeled after doctest for Python
+ (<http://docs.python.org/library/doctest.html>).
+category: Testing
+license: BSD3
+license-file: LICENSE
+author: Simon Hengel
+maintainer: simon.hengel@web.de
+build-depends:
+ base
+ , HUnit
+ , parsec
+ , haskell-src
+ , directory
+ , filepath
+ , plugins
+build-type: Simple
+
+extra-source-files:
+ Test/DocTest.hs
+ , Test/DocTest/Error.hs
+ , Test/DocTest/Parser.hs
+ , Test/DocTest/Util.hs
+
+
+executable: doctest
+main-is: Main.hs
Please sign in to comment.
Something went wrong with that request. Please try again.