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
1 changed files with 3 additions and 1 deletions

View File

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