Summary: the_future_is_now Reviewed By: jberdine Differential Revision: D8933124 fbshipit-source-id: e5df1a9a3master
parent
0bf9666639
commit
83a4a8fa5b
@ -0,0 +1,22 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name InferIR)
|
||||
(public_name InferIR)
|
||||
(flags (%s -open Core -open InferStdlib -open IStd -open InferGenerated -open InferBase))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries %s)
|
||||
(preprocess (pps ppx_compare))
|
||||
)
|
||||
|
||||
(documentation
|
||||
(package InferIR)
|
||||
(mld_files index)
|
||||
)
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " ("InferBase" :: common_libraries))
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,22 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
((name InferIR)
|
||||
(public_name InferIR)
|
||||
(flags (%s -open Core -open InferStdlib -open IStd -open InferGenerated -open InferBase))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries (%s))
|
||||
(preprocess (pps (ppx_compare)))
|
||||
))
|
||||
|
||||
(documentation
|
||||
((package InferIR)
|
||||
(mld_files (index))
|
||||
))
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " ("InferBase" :: common_libraries))
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,2 +1,2 @@
|
||||
The OCaml source files for infer live here. The Makefile is
|
||||
responsible for building them, together with jbuild.in.
|
||||
responsible for building them, together with dune.in.
|
||||
|
@ -0,0 +1,24 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
|
||||
let cflags = common_cflags @ ["-w"; "-27-32-34-35-39"]
|
||||
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name InferGenerated)
|
||||
(public_name InferGenerated)
|
||||
(flags (%s))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries atdgen core)
|
||||
(preprocess (pps ppx_compare))
|
||||
)
|
||||
|
||||
(documentation
|
||||
(package InferGenerated)
|
||||
(mld_files index)
|
||||
)
|
||||
|}
|
||||
(String.concat " " cflags)
|
||||
(String.concat " " common_optflags)
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,24 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
|
||||
let cflags = common_cflags @ ["-w"; "-27-32-34-35-39"]
|
||||
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
((name InferGenerated)
|
||||
(public_name InferGenerated)
|
||||
(flags (%s))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries (atdgen core))
|
||||
(preprocess (pps (ppx_compare)))
|
||||
))
|
||||
|
||||
(documentation
|
||||
((package InferGenerated)
|
||||
(mld_files (index))
|
||||
))
|
||||
|}
|
||||
(String.concat " " cflags)
|
||||
(String.concat " " common_optflags)
|
||||
|> Jbuild_plugin.V1.send
|
@ -0,0 +1,22 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name InferBase)
|
||||
(public_name InferBase)
|
||||
(flags (%s -open Core -open InferStdlib -open IStd -open InferGenerated))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries %s)
|
||||
(preprocess (pps ppx_compare))
|
||||
)
|
||||
|
||||
(documentation
|
||||
(package InferBase)
|
||||
(mld_files index)
|
||||
)
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " ("InferStdlib" :: "InferGenerated" :: common_libraries))
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,22 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
((name InferBase)
|
||||
(public_name InferBase)
|
||||
(flags (%s -open Core -open InferStdlib -open IStd -open InferGenerated))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries (%s))
|
||||
(preprocess (pps (ppx_compare)))
|
||||
))
|
||||
|
||||
(documentation
|
||||
((package InferBase)
|
||||
(mld_files (index))
|
||||
))
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " ("InferStdlib" :: "InferGenerated" :: common_libraries))
|
||||
|> Jbuild_plugin.V1.send
|
@ -0,0 +1,18 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(executable
|
||||
(name all_infer_in_one_file)
|
||||
(flags (%s -w +60))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries %s)
|
||||
(modules All_infer_in_one_file)
|
||||
(preprocess (pps ppx_compare ppx_sexp_conv -no-check))
|
||||
)
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " common_libraries)
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,18 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(executable
|
||||
((name all_infer_in_one_file)
|
||||
(flags (%s -w +60))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries (%s))
|
||||
(modules (All_infer_in_one_file))
|
||||
(preprocess (pps (ppx_compare ppx_sexp_conv -no-check)))
|
||||
))
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " common_libraries)
|
||||
|> Jbuild_plugin.V1.send
|
@ -0,0 +1,2 @@
|
||||
(lang dune 1.0)
|
||||
(using menhir 1.0)
|
@ -0,0 +1,5 @@
|
||||
(lang dune 1.0)
|
||||
|
||||
(context (opam (switch @OPAMSWITCH@) (name default) (merlin)))
|
||||
(context (opam (switch @OPAMSWITCH@) (name opt)))
|
||||
(context (opam (switch @OPAMSWITCH@) (name test)))
|
@ -0,0 +1,22 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
(name InferStdlib)
|
||||
(public_name InferStdlib)
|
||||
(flags (%s -open Core))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries %s)
|
||||
(preprocess (pps ppx_compare))
|
||||
)
|
||||
|
||||
(documentation
|
||||
(package InferStdlib)
|
||||
(mld_files index)
|
||||
)
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " common_libraries)
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,22 +0,0 @@
|
||||
(* -*- tuareg -*- *)
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(library
|
||||
((name InferStdlib)
|
||||
(public_name InferStdlib)
|
||||
(flags (%s -open Core))
|
||||
(ocamlopt_flags (%s))
|
||||
(libraries (%s))
|
||||
(preprocess (pps (ppx_compare)))
|
||||
))
|
||||
|
||||
(documentation
|
||||
((package InferStdlib)
|
||||
(mld_files (index))
|
||||
))
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
(String.concat " " common_optflags)
|
||||
(String.concat " " common_libraries)
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,3 +0,0 @@
|
||||
(context ((switch @OPAMSWITCH@) (name default) (merlin)))
|
||||
(context ((switch @OPAMSWITCH@) (name opt)))
|
||||
(context ((switch @OPAMSWITCH@) (name test)))
|
@ -0,0 +1,12 @@
|
||||
(* NOTE: prepend dune.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(executable
|
||||
(name checkCopyright)
|
||||
(flags (%s))
|
||||
(libraries core str)
|
||||
(preprocess (pps ppx_compare))
|
||||
)
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
|> Jbuild_plugin.V1.send
|
@ -1,12 +0,0 @@
|
||||
(* NOTE: prepend jbuild.common to this file! *)
|
||||
;; Format.sprintf
|
||||
{|
|
||||
(executable
|
||||
((name checkCopyright)
|
||||
(flags (%s))
|
||||
(libraries (core str))
|
||||
(preprocess (pps (ppx_compare)))
|
||||
))
|
||||
|}
|
||||
(String.concat " " common_cflags)
|
||||
|> Jbuild_plugin.V1.send
|
Loading…
Reference in new issue