File: _oasis

package info (click to toggle)
ocaml-csv 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 332 kB
  • ctags: 288
  • sloc: ml: 1,796; makefile: 99
file content (96 lines) | stat: -rw-r--r-- 2,471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#								-*-conf-*-
OASISFormat: 0.4
Name:        csv
Version:     1.5
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
  Build$:         flag(tests)
  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