-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
I'm building a better configuration for OCaml and have reached this:
let g:quickrun_config = {
\ 'ocaml' : {
\ 'command': 'corebuild',
\ 'cmdopt': '-quiet',
\ 'exec': ['%c %o %s:t:r.byte', './%s:t:r.byte %a'],
\ 'tempfile': '%{tempname()}.ml',
\ 'hook/cd/directory': '%S:p:h',
\ 'hook/sweep/files': ['%S:p:h/_build', '%S:p:r.byte'],
\ }
\ }
" }}}The only problem is the hook/sweep/files, it seems only able to delete a file, not a directory, and I need to delete both path/foo.byte and path/_build but path/_build is left untouched. Better yet, it would be better if it was possible to configure a command to run on sweep, for example, I could run corebuild -clean to clean up everything instead of listing files to delete.
Is there a simple way to configure this?
Metadata
Metadata
Assignees
Labels
No labels