#								-*-conf-*-
OASISFormat: 0.4
Name:        csv
Version:     1.4.2
Synopsis:    A pure OCaml library to read and write CSV files.
Description: This is a pure OCaml library to read and write CSV files, 
  including all extensions used by Excel — e.g. quotes, newlines, 
  8 bit characters in fields, \"0 etc.  A special representation of rows
  of CSV files with a header is provided.  The library comes with a handy
  command line tool called csvtool for handling CSV files from shell scripts.
Authors:     Richard Jones, Christophe Troestler
Maintainers: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Categories:  http://database, http://science
License:     LGPL-2.1 with OCaml linking exception
Homepage:    https://github.com/Chris00/ocaml-csv
Plugins:     META (0.4), StdFiles (0.4)

Library csv
  Path:       src
  BuildTools: ocamlbuild
  Modules:    Csv
  BuildDepends: bytes

Document API
  Title:           API reference for Csv
  Type:            OCamlbuild (0.4)
  InstallDir:      $docdir/api
  BuildTools:      ocamldoc, ocamlbuild
  XOCamlbuildPath: .
  XOCamlbuildLibraries: csv

# Examples
Executable csvtool
  Path:           examples/
  MainIs:         csvtool.ml
  BuildDepends:   csv
  CompiledObject: best
  BuildTools:     ocamlbuild
  Install:        true

Executable example
  Build$:         flag(tests)
  Path:           examples/
  MainIs:         example.ml
  BuildDepends:   csv
  CompiledObject: best
  BuildTools:     ocamlbuild
  Install:        false

# Testing
Executable test
  Build$:         flag(tests)
  Path:           tests/
  MainIs:         test.ml
  BuildDepends:   csv
  CompiledObject: best
  BuildTools:     ocamlbuild
  Install:        false

Test conformity
  WorkingDirectory: tests/
  Command: $test
  Run: true

Executable test_header
  Path:           tests/
  MainIs:         test_header.ml
  BuildDepends:   csv
  CompiledObject: best
  BuildTools:     ocamlbuild
  Install:        false

Test header
  Command: $test_header
  Run: true

Executable test_write
  Build$:         flag(tests)
  Path:           tests/
  MainIs:         test_write.ml
  BuildDepends:   csv
  CompiledObject: best
  BuildTools:     ocamlbuild
  Install:        false

Test write
  WorkingDirectory: tests/
  Command: $test_write
  Run: true


SourceRepository master
  Type:       git
  Location:   https://github.com/Chris00/ocaml-csv.git
  Browser:    https://github.com/Chris00/ocaml-csv
