ligo/lib_embedded_protocol_alpha/src/jbuild

54 lines
1.7 KiB
Plaintext
Raw Normal View History

(jbuild_version 1)
(rule
((targets (environment.ml))
(action
(write-file ${@}
"include Tezos_node_updater.Tezos_protocol_environment.Make(struct let name = \"alpha\" end)()"))))
(rule
((targets (registerer.ml))
(action
(write-file ${@}
"
let () =
let module Ignored = Tezos_node_shell.State.Register_embedded_protocol
(Tezos_embedded_protocol_environment_alpha.Environment)
(Tezos_embedded_raw_protocol_alpha.Main)
(struct
let hash =
Some (Tezos_crypto.Protocol_hash.of_b58check_exn
\"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK\")
let sources = Tezos_base.Protocol.{
expected_env = V1 ;
components = [(* FIXME ?? *)] ;
} end) in ()"))))
(library
((name tezos_embedded_protocol_environment_alpha)
(public_name tezos-embedded-protocol-alpha.environment)
(library_flags (:standard -linkall))
(libraries (tezos-node-updater))
(modules (Environment))))
(library
((name tezos_embedded_raw_protocol_alpha)
(public_name tezos-embedded-protocol-alpha.raw)
(libraries (tezos_embedded_protocol_environment_alpha))
(library_flags (:standard -linkall))
(flags (:standard -nopervasives -nostdlib -safe-string
-w +a-4-6-7-9-29-32-40..42-44-45-48
-warn-error -a+8
-open Tezos_embedded_protocol_environment_alpha__Environment
-open Error_monad
-open Hash
-open Tezos_data))
(modules (:standard \ Environment Registerer))))
(library
((name tezos_embedded_protocol_alpha)
(public_name tezos-embedded-protocol-alpha)
(library_flags (:standard -linkall))
(libraries (tezos_embedded_raw_protocol_alpha tezos-node-shell))
(modules (Registerer))))