Skip to content

Instantly share code, notes, and snippets.

@alexkirsz
Created October 4, 2015 11:27
Show Gist options
  • Save alexkirsz/7dabfdd813d715f6ff02 to your computer and use it in GitHub Desktop.
Save alexkirsz/7dabfdd813d715f6ff02 to your computer and use it in GitHub Desktop.
ST3 Build Systems for OCaml
{
"shell_cmd": "type $file | ocaml",
"selector": "source.ml"
}
{
"shell_cmd": "cat $file | ocaml",
"selector": "source.ml"
}
{
"shell_cmd": "ocaml $file",
"selector": "source.ml"
}
@alexkirsz
Copy link
Author

Go to Tools > Build System > New Build System..., paste the content of one of the above files and save it.

The build systems denoted with REPL will execute your code through the REPL, which means that you'll receive a lot more feedback but lose line/column reporting in error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment