2017-10-27 22:45:31 +04:00
|
|
|
(jbuild_version 1)
|
|
|
|
|
|
|
|
(rule
|
|
|
|
((targets (environment.ml))
|
|
|
|
(action
|
|
|
|
(write-file ${@}
|
|
|
|
"include Tezos_protocol_environment.Make(struct let name = \"alpha\" end)()"))))
|
|
|
|
|
|
|
|
(rule
|
|
|
|
((targets (registerer.ml))
|
|
|
|
(action
|
|
|
|
(write-file ${@}
|
|
|
|
"
|
|
|
|
let () =
|
|
|
|
let module Ignored = State.Register_embedded_protocol
|
|
|
|
(Tezos_protocol_environment_alpha.Environment)
|
|
|
|
(Tezos_embedded_raw_protocol_alpha.Main)
|
|
|
|
(struct
|
|
|
|
let hash =
|
2017-11-27 09:13:12 +04:00
|
|
|
Some (Tezos_crypto.Protocol_hash.of_b58check_exn
|
2017-10-27 22:45:31 +04:00
|
|
|
\"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK\")
|
2017-11-27 09:13:12 +04:00
|
|
|
let sources = Tezos_base.Protocol.{
|
2017-10-27 22:45:31 +04:00
|
|
|
expected_env = V1 ;
|
|
|
|
components = [(* FIXME ?? *)] ;
|
|
|
|
} end) in ()"))))
|
|
|
|
|
|
|
|
(library
|
2017-11-14 02:47:13 +04:00
|
|
|
((name tezos_protocol_environment_alpha)
|
|
|
|
(public_name tezos.protocol_environment.alpha)
|
|
|
|
(library_flags (:standard -linkall -w -9 -safe-string))
|
|
|
|
(libraries (node_updater))
|
|
|
|
(modules (Environment))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(library
|
2017-11-14 02:47:13 +04:00
|
|
|
((name tezos_embedded_raw_protocol_alpha)
|
|
|
|
(public_name tezos.embedded_raw_protocol.alpha)
|
|
|
|
(libraries (tezos_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_protocol_environment_alpha__Environment
|
|
|
|
-open Error_monad
|
|
|
|
-open Hash
|
|
|
|
-open Tezos_data))
|
|
|
|
(modules (:standard \ Environment Registerer))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(library
|
2017-11-14 02:47:13 +04:00
|
|
|
((name tezos_embedded_protocol_alpha)
|
|
|
|
(public_name tezos.embedded_protocol.alpha)
|
|
|
|
(library_flags (:standard -linkall -w -9-32 -safe-string))
|
|
|
|
(libraries (tezos_embedded_raw_protocol_alpha node_shell))
|
|
|
|
(modules (Registerer))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_sandboxing)
|
|
|
|
(deps ((glob_files *.ml)
|
|
|
|
(glob_files *.mli)
|
|
|
|
TEZOS_PROTOCOL))
|
2017-11-15 19:57:41 +04:00
|
|
|
(action (chdir ${ROOT}
|
|
|
|
(run ${exe:../../compiler_main.exe} dummy_alpha ${path-no-dep:.})))))
|
2017-11-27 09:13:12 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_indent)
|
|
|
|
(deps ((glob_files *.ml) (glob_files *.mli)))
|
|
|
|
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))
|