Renamed ppx_let to ppx_let_generalized (part 2)

To avoid conflicts in an installaction containing both our changes and the official version.
This commit is contained in:
Georges Dupéron 2019-04-19 16:05:52 +02:00
parent a759b50f87
commit 0ce5a864c0
7 changed files with 10 additions and 28 deletions

View File

@ -1 +0,0 @@
(lang dune 1.5)

View File

@ -1,2 +1,2 @@
(library (name ppx_let_expander) (public_name ppx_let.expander)
(libraries base ppxlib) (preprocess no_preprocessing))
(library (name ppx_let_expander) (public_name tezos-utils.ppx_let_generalized.expander)
(libraries base ppxlib) (preprocess no_preprocessing))

View File

@ -1,21 +0,0 @@
opam-version: "2.0"
maintainer: "opensource@janestreet.com"
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
homepage: "https://github.com/janestreet/ppx_let"
bug-reports: "https://github.com/janestreet/ppx_let/issues"
dev-repo: "git+https://github.com/janestreet/ppx_let.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_let/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.04.2" & < "4.08.0"}
"base"
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
]
synopsis: "Monadic let-bindings"
description: "
Part of the Jane Street's PPX rewriters collection.
"

View File

@ -1,2 +1,2 @@
(library (name ppx_let) (public_name ppx_let) (kind ppx_rewriter)
(libraries ppxlib ppx_let_expander) (preprocess no_preprocessing))
(library (name ppx_let) (public_name tezos-utils.ppx_let_generalized) (kind ppx_rewriter)
(libraries ppxlib ppx_let_expander) (preprocess no_preprocessing))

View File

@ -40,6 +40,10 @@ depends: [
"tezos-protocol-environment"
"tezos-protocol-alpha"
"michelson-parser"
# from ppx_let:
"ocaml" {>= "4.04.2" & < "4.08.0"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
]
build: [
["dune" "build" "-p" name]

View File

@ -24,7 +24,7 @@
run
)
(preprocess
(pps ppx_let)
(pps tezos-utils.ppx_let_generalized)
)
)

View File

@ -10,7 +10,7 @@ depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"menhir"
"ppx_let"
"ppx_let_generalized"
"tezos-utils"
]
build: [