11 lines
192 B
Bash
Executable File
11 lines
192 B
Bash
Executable File
#!/bin/bash -
|
|
set -e
|
|
set -x
|
|
|
|
# Compile a trivial program and run it.
|
|
echo 'print_endline "hello, world"' > hello.ml
|
|
ocamlc.opt hello.ml -o hello
|
|
./hello
|
|
ocamlopt.opt hello.ml -o hello
|
|
./hello
|