ocaml-curses/tests/basic-test.sh
2024-06-19 09:17:58 +01:00

9 lines
216 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# Compile trivial curses program.
echo 'open Curses;; ignore (initscr ()); endwin ()' > cursestest.ml
ocamlfind ocamlopt -package curses cursestest.ml -linkpkg -o cursestest
./cursestest