piston/packages/ocaml/4.12.0/compile

6 lines
77 B
Bash

#!/bin/bash
rename 's/$/\.ml/' "$@" # Add .ml extension
ocamlc -o out *.ml