Jbuilder: move Micheline in its own OPAM package
This commit is contained in:
parent
b6449cae87
commit
92d166175f
@ -1,8 +1,8 @@
|
|||||||
(jbuild_version 1)
|
(jbuild_version 1)
|
||||||
|
|
||||||
(library
|
(library
|
||||||
((name micheline)
|
((name tezos_micheline)
|
||||||
(public_name tezos.micheline)
|
(public_name tezos-micheline)
|
||||||
(libraries
|
(libraries
|
||||||
(
|
(
|
||||||
;; External
|
;; External
|
||||||
@ -12,8 +12,7 @@
|
|||||||
))
|
))
|
||||||
(flags (:standard -w -9+27-30-32-40@8
|
(flags (:standard -w -9+27-30-32-40@8
|
||||||
-safe-string
|
-safe-string
|
||||||
-open Tezos_base__TzPervasives))
|
-open Tezos_base__TzPervasives))))
|
||||||
(wrapped false)))
|
|
||||||
|
|
||||||
(alias
|
(alias
|
||||||
((name runtest_indent)
|
((name runtest_indent)
|
21
lib_micheline/tezos-micheline.opam
Normal file
21
lib_micheline/tezos-micheline.opam
Normal 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 ]
|
||||||
|
]
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Client_proto_args
|
open Client_proto_args
|
||||||
open Client_proto_contracts
|
open Client_proto_contracts
|
||||||
open Client_proto_programs
|
open Client_proto_programs
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Client_proto_args
|
open Client_proto_args
|
||||||
|
|
||||||
open Michelson_v1_printer
|
open Michelson_v1_printer
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
|
|
||||||
module Program : Client_aliases.Alias
|
module Program : Client_aliases.Alias
|
||||||
with type t = Michelson_v1_parser.parsed Micheline_parser.parsing_result
|
with type t = Michelson_v1_parser.parsed Micheline_parser.parsing_result
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Micheline
|
open Micheline
|
||||||
|
|
||||||
type 'l node = ('l, string) Micheline.node
|
type 'l node = ('l, string) Micheline.node
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
|
|
||||||
type 'l node = ('l, string) Micheline.node
|
type 'l node = ('l, string) Micheline.node
|
||||||
|
|
||||||
val expand : 'l node -> 'l node
|
val expand : 'l node -> 'l node
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Micheline
|
open Micheline
|
||||||
|
|
||||||
let print_expr ppf expr =
|
let print_expr ppf expr =
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Script_typed_ir
|
open Script_typed_ir
|
||||||
open Script_ir_translator
|
open Script_ir_translator
|
||||||
open Script_interpreter
|
open Script_interpreter
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Micheline_parser
|
open Micheline_parser
|
||||||
open Micheline
|
open Micheline
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
|
|
||||||
(** The result of parsing and expanding a Michelson V1 script or data. *)
|
(** The result of parsing and expanding a Michelson V1 script or data. *)
|
||||||
type parsed =
|
type parsed =
|
||||||
{
|
{
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
open Micheline
|
open Micheline
|
||||||
open Micheline_printer
|
open Micheline_printer
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
|
|
||||||
val print_expr :
|
val print_expr :
|
||||||
Format.formatter -> Script_repr.expr -> unit
|
Format.formatter -> Script_repr.expr -> unit
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
(* *)
|
(* *)
|
||||||
(**************************************************************************)
|
(**************************************************************************)
|
||||||
|
|
||||||
|
open Tezos_micheline
|
||||||
|
|
||||||
type point = Micheline_parser.point =
|
type point = Micheline_parser.point =
|
||||||
{ point : int ;
|
{ point : int ;
|
||||||
byte : int ;
|
byte : int ;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
((name node_updater)
|
((name node_updater)
|
||||||
(public_name tezos.node.updater)
|
(public_name tezos.node.updater)
|
||||||
(libraries (tezos-base
|
(libraries (tezos-base
|
||||||
micheline
|
tezos-micheline
|
||||||
tezos_protocol_compiler
|
tezos_protocol_compiler
|
||||||
node_net
|
node_net
|
||||||
node_db
|
node_db
|
||||||
|
@ -57,7 +57,7 @@ module Make(Param : sig val name: string end)() = struct
|
|||||||
module Protocol = Protocol
|
module Protocol = Protocol
|
||||||
end
|
end
|
||||||
module RPC = RPC
|
module RPC = RPC
|
||||||
module Micheline = Micheline
|
module Micheline = Tezos_micheline.Micheline
|
||||||
module Fitness = Fitness
|
module Fitness = Fitness
|
||||||
module Error_monad = struct
|
module Error_monad = struct
|
||||||
type error_category = [ `Branch | `Temporary | `Permanent ]
|
type error_category = [ `Branch | `Temporary | `Permanent ]
|
||||||
|
Loading…
Reference in New Issue
Block a user