ocaml/ocamlbuild/test/test11/test.sh

14 lines
368 B
Bash
Executable File

#!/bin/sh
cd `dirname $0`
set -e
set -x
CMDOTPS="" # -- command args
BUILD="../../_build/ocamlbuild.native -I a -I b aa.byte aa.native -no-skip -classic-display $@"
BUILD1="$BUILD $CMDOPTS"
BUILD2="$BUILD -verbose 0 -nothing-should-be-rebuilt $CMDOPTS"
rm -rf _build
$BUILD1
echo looks if libs are there
ls _build/b/libb.cma _build/b/libb.cmxa _build/b/libb.a
$BUILD2