Jbuilder: move Micheline in its own OPAM package
This commit is contained in:
parent
b6449cae87
commit
92d166175f
@ -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)
|
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_contracts
|
||||
open Client_proto_programs
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Client_proto_args
|
||||
|
||||
open Michelson_v1_printer
|
||||
|
@ -7,6 +7,8 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
|
||||
module Program : Client_aliases.Alias
|
||||
with type t = Michelson_v1_parser.parsed Micheline_parser.parsing_result
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Micheline
|
||||
|
||||
type 'l node = ('l, string) Micheline.node
|
||||
|
@ -7,6 +7,8 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
|
||||
type 'l node = ('l, string) Micheline.node
|
||||
|
||||
val expand : 'l node -> 'l node
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Micheline
|
||||
|
||||
let print_expr ppf expr =
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Script_typed_ir
|
||||
open Script_ir_translator
|
||||
open Script_interpreter
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Micheline_parser
|
||||
open Micheline
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
|
||||
(** The result of parsing and expanding a Michelson V1 script or data. *)
|
||||
type parsed =
|
||||
{
|
||||
|
@ -7,6 +7,7 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
open Micheline
|
||||
open Micheline_printer
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
|
||||
val print_expr :
|
||||
Format.formatter -> Script_repr.expr -> unit
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
(* *)
|
||||
(**************************************************************************)
|
||||
|
||||
open Tezos_micheline
|
||||
|
||||
type point = Micheline_parser.point =
|
||||
{ point : int ;
|
||||
byte : int ;
|
||||
|
@ -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
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user