#!/bin/bash set -e cd "$(dirname "$0")/../.." ocamlfind ocamlc -o test -linkpkg -package ptmap test.ml echo build ok ./test echo run ok