ocaml extension

This commit is contained in:
Thomas Hobson 2021-04-24 20:09:59 +12:00
parent a1209cdfd5
commit 5e9b9c888e
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F

View file

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