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 (15 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

set -x
cat hello.atd
atdgen -t hello.atd
atdgen -j hello.atd
ls
ocamlfind ocamlc -c hello_t.mli -package atdgen
ocamlfind ocamlc -c hello_j.mli -package atdgen
ocamlfind ocamlopt -c hello_t.ml -package atdgen
ocamlfind ocamlopt -c hello_j.ml -package atdgen
ocamlfind ocamlopt -c hello.ml -package atdgen
ocamlfind ocamlopt -o hello hello_t.cmx hello_j.cmx hello.cmx \
  -package atdgen -linkpkg
./hello