OASISFormat: 0.3
Name:        ocaml-expect
Version: 0.0.6
Synopsis:    Expect-like framework
Copyrights:  (C) 2010 OCamlCore SARL
Authors:     Sylvain Le Gall
License:     LGPL-2.1 with OCaml linking exception
LicenseFile: COPYING.txt
Plugins:     META (0.2), StdFiles (0.2), DevFiles (0.2)
BuildTools:  ocamlbuild
Homepage:    http://forge.ocamlcore.org/projects/ocaml-expect/

Description:
  This is a simple implementation of `expect` to help building unitary testing
  of interactive program.
  .
  It helps to receive question and send answers from an interactive process.
  You can match the question using a regular expression (Str). You can also
  use a timeout to ensure that the process answer in time.
  .
  See the [Expect manual](http://expect.nist.gov/) for more information and
  example.

Library expect
  Path:    src
  Modules: Expect
  BuildDepends: unix, batteries, bytes

Library "expect-pcre"
  Path: src
  Modules: ExpectPcre
  BuildDepends: expect, pcre
  FindlibParent: expect
  FindlibName: pcre

Library "expect-str"
  Path: src
  Modules: ExpectStr
  BuildDepends: expect, str
  FindlibParent: expect
  FindlibName: str

Executable test
  Path:   test
  MainIs: test.ml
  BuildDepends: oUnit (>= 2.0.0), expect, expect.str, expect.pcre, threads
  Install: false
  Build$: flag(tests)

Executable qa
  Path:    test
  MainIs:  qa.ml
  Install: false
  Build$: flag(tests)

Test main
  Command: $test

Document "api-expect"
  Title:                API reference for Expect
  Type:                 ocamlbuild (0.1.0)
  InstallDir:           $htmldir/expect
  BuildTools+:          ocamldoc
  XOCamlbuildPath:      src/
  XOCamlbuildLibraries: expect, expect.pcre, expect.str

SourceRepository head
  Type: darcs
  Location: http://darcs.ocamlcore.org/repos/ocaml-expect
  Browser: http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocaml-expect;a=summary
