Skip to content

Instantly share code, notes, and snippets.

@dbuenzli
Created November 17, 2016 01:42
Show Gist options
  • Select an option

  • Save dbuenzli/b257be8c1eec8bf8c3a7c53a6ee2190f to your computer and use it in GitHub Desktop.

Select an option

Save dbuenzli/b257be8c1eec8bf8c3a7c53a6ee2190f to your computer and use it in GitHub Desktop.
<test*> : use_c, use_a, use_b
let () = print_endline "a"
let () = print_endline "b"
let () = print_endline "c"
open Ocamlbuild_plugin
let () =
dispatch begin function
| After_rules ->
ocaml_lib "a";
ocaml_lib "b";
ocaml_lib "c";
| _ -> ()
end
let () = print_endline "test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment