Use ocamlbuild to compile some OCaml code
-
Grunt
-
ocamlbuild
-
Findlib (ocamlfind)
Install this plugin:
$ npm install grunt-ocamlbuild --save-dev
Include the task in your Gruntfile:
grunt.loadNpmTasks('grunt-ocamlbuild');
Run this task with the grunt ocamlbuild
command.
Type: String
Name of the ocamlbuild target
Type: String array
Additional options to be passed to ocamlbuild
.
ocamlbuild: {
main: {
target: 'main.byte',
options:
args: []
},
},
##License
Copyright (c) 2017 Lemoine Automation Technologies
Licensed under the MIT license.