2017-10-27 22:45:31 +04:00
|
|
|
(jbuild_version 1)
|
|
|
|
|
|
|
|
(rule
|
|
|
|
((targets (embedded_cmis.ml))
|
|
|
|
(action
|
|
|
|
(run ${bin:ocp-ocamlres} -format ocaml -o ${@}
|
|
|
|
${lib:stdlib:camlinternalFormatBasics.cmi}
|
2017-10-29 01:14:00 +04:00
|
|
|
${path:tezos_protocol_compiler__Registerer.cmi}
|
2017-11-27 09:13:12 +04:00
|
|
|
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs.cmi}
|
|
|
|
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs__V1.cmi}))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(library
|
|
|
|
((name tezos_protocol_compiler)
|
2017-11-27 09:13:12 +04:00
|
|
|
(public_name tezos-protocol-compiler)
|
2017-11-27 09:13:12 +04:00
|
|
|
(libraries (tezos-base
|
2017-11-27 09:13:12 +04:00
|
|
|
tezos-protocol-environment-sigs
|
2017-10-27 22:45:31 +04:00
|
|
|
compiler-libs
|
|
|
|
compiler-libs.optcomp
|
|
|
|
lwt.unix
|
|
|
|
ocplib-endian
|
|
|
|
ocplib-ocamlres
|
|
|
|
unix))
|
2017-11-13 17:29:28 +04:00
|
|
|
(flags (:standard -w -9+27-30-32-40@8
|
|
|
|
-safe-string
|
2017-10-27 22:45:31 +04:00
|
|
|
-opaque
|
2017-11-27 09:13:12 +04:00
|
|
|
-open Tezos_base__TzPervasives))
|
|
|
|
(modules (:standard \ Main))))
|
|
|
|
|
|
|
|
(executable
|
|
|
|
((name main)
|
|
|
|
(public_name tezos-protocol-compiler)
|
|
|
|
(package tezos-protocol-compiler)
|
|
|
|
(modes (native))
|
|
|
|
(libraries (tezos-protocol-compiler))
|
|
|
|
(flags (:standard -linkall))
|
|
|
|
(modules (Main))))
|
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} ${<}))))
|