Jbuilder: move Micheline in its own OPAM package

This commit is contained in:
Grégoire Henry 2017-11-27 06:13:12 +01:00 committed by Benjamin Canou
parent b6449cae87
commit 92d166175f
22 changed files with 43 additions and 6 deletions

View File

@ -1,8 +1,8 @@
(jbuild_version 1)
(library
((name micheline)
(public_name tezos.micheline)
((name tezos_micheline)
(public_name tezos-micheline)
(libraries
(
;; External
@ -12,8 +12,7 @@
))
(flags (:standard -w -9+27-30-32-40@8
-safe-string
-open Tezos_base__TzPervasives))
(wrapped false)))
-open Tezos_base__TzPervasives))))
(alias
((name runtest_indent)

View File

@ -0,0 +1,21 @@
opam-version: "1.2"
version: "dev"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "https://gitlab.com/tezos/tezos.git"
license: "unreleased"
depends: [
"ocamlfind" { build }
"jbuilder" { build & >= "1.0+beta15" }
"base-bigarray"
"tezos-base"
"uutf"
]
build: [
[ "jbuilder" "build" "-p" name "-j" jobs ]
]
build-test: [
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
]

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Client_proto_args
open Client_proto_contracts
open Client_proto_programs

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Client_proto_args
open Michelson_v1_printer

View File

@ -7,6 +7,8 @@
(* *)
(**************************************************************************)
open Tezos_micheline
module Program : Client_aliases.Alias
with type t = Michelson_v1_parser.parsed Micheline_parser.parsing_result

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Micheline
type 'l node = ('l, string) Micheline.node

View File

@ -7,6 +7,8 @@
(* *)
(**************************************************************************)
open Tezos_micheline
type 'l node = ('l, string) Micheline.node
val expand : 'l node -> 'l node

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Micheline
let print_expr ppf expr =

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Script_typed_ir
open Script_ir_translator
open Script_interpreter

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Micheline_parser
open Micheline

View File

@ -7,6 +7,8 @@
(* *)
(**************************************************************************)
open Tezos_micheline
(** The result of parsing and expanding a Michelson V1 script or data. *)
type parsed =
{

View File

@ -7,6 +7,7 @@
(* *)
(**************************************************************************)
open Tezos_micheline
open Micheline
open Micheline_printer

View File

@ -7,6 +7,8 @@
(* *)
(**************************************************************************)
open Tezos_micheline
val print_expr :
Format.formatter -> Script_repr.expr -> unit

View File

@ -7,6 +7,8 @@
(* *)
(**************************************************************************)
open Tezos_micheline
type point = Micheline_parser.point =
{ point : int ;
byte : int ;

View File

@ -4,7 +4,7 @@
((name node_updater)
(public_name tezos.node.updater)
(libraries (tezos-base
micheline
tezos-micheline
tezos_protocol_compiler
node_net
node_db

View File

@ -57,7 +57,7 @@ module Make(Param : sig val name: string end)() = struct
module Protocol = Protocol
end
module RPC = RPC
module Micheline = Micheline
module Micheline = Tezos_micheline.Micheline
module Fitness = Fitness
module Error_monad = struct
type error_category = [ `Branch | `Temporary | `Permanent ]