File: demo.sh

package info (click to toggle)
ocaml-atd 2.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,768 kB
  • sloc: ml: 45,944; python: 827; sh: 339; makefile: 306; cpp: 195; java: 76
file content (20 lines) | stat: -rwxr-xr-x 648 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh -e

set -x
cat resume.atd
atdgen -t resume.atd
atdgen -j resume.atd
atdgen -v resume.atd
ls
ocamlfind ocamlc -c resume_t.mli -package atdgen
ocamlfind ocamlc -c resume_v.mli -package atdgen
ocamlfind ocamlc -c resume_j.mli -package atdgen
ocamlfind ocamlopt -c resume_t.ml -package atdgen
ocamlfind ocamlopt -c resume_util.ml -package atdgen
ocamlfind ocamlopt -c resume_v.ml -package atdgen
ocamlfind ocamlopt -c resume_j.ml -package atdgen
ocamlfind ocamlopt -c resume.ml -package atdgen
ocamlfind ocamlopt -o test_resume \
  resume_t.cmx resume_util.cmx resume_v.cmx resume_j.cmx resume.cmx \
  -package atdgen -linkpkg
./test_resume