|
|
|
(* -*- tuareg -*- *)
|
|
|
|
(*
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*)
|
|
|
|
(* NOTE: prepend dune.common to this file! *)
|
|
|
|
|
|
|
|
;;
|
|
|
|
Format.sprintf
|
|
|
|
{|
|
|
|
|
(executable
|
|
|
|
(name all_infer_in_one_file)
|
|
|
|
(modes byte)
|
|
|
|
(flags (%s -w +60))
|
|
|
|
(ocamlopt_flags (%s))
|
|
|
|
(libraries %s)
|
|
|
|
(modules All_infer_in_one_file)
|
|
|
|
(preprocess (pps ppx_compare ppx_fields_conv ppx_hash ppx_sexp_conv ppx_variants_conv -no-check))
|
|
|
|
)
|
|
|
|
|}
|
|
|
|
(String.concat " " common_cflags)
|
|
|
|
(String.concat " " common_optflags)
|
|
|
|
(String.concat " " ("InferCStubs" :: common_libraries))
|
|
|
|
|> Jbuild_plugin.V1.send
|