ligo/lib_protocol_compiler/jbuild

42 lines
1.3 KiB
Plaintext
Raw Normal View History

(jbuild_version 1)
(rule
((targets (embedded_cmis.ml))
(action
(run ${bin:ocp-ocamlres} -format ocaml -o ${@}
${lib:stdlib:camlinternalFormatBasics.cmi}
${path:tezos_protocol_compiler__Registerer.cmi}
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs.cmi}
${lib:tezos-protocol-environment-sigs:tezos_protocol_environment_sigs__V1.cmi}))))
(library
((name tezos_protocol_compiler)
(public_name tezos-protocol-compiler)
(libraries (tezos-base
tezos-protocol-environment-sigs
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
-opaque
-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))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))