ligo/src/lib_protocol_compiler/jbuild
Pietro d9405292a4 Move all packages to src/
Modify Makefile accordingly
2018-01-16 23:11:39 +01:00

55 lines
1.6 KiB
Plaintext

(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))
(flags (:standard -w -9+27-30-32-40@8
-safe-string
-opaque
-open Tezos_base__TzPervasives))
(modules (:standard \ Main Main_embedded_packer))))
(executable
((name main)
(public_name tezos-protocol-compiler)
(modes (native))
(libraries (tezos_protocol_compiler))
(flags (:standard -linkall))
(modules (Main))))
(executable
((name main_embedded_packer)
(public_name tezos-embedded-protocol-packer)
(modes (native))
(libraries (tezos-base))
(flags (:standard -linkall
-open Tezos_base__TzPervasives))
(modules (Main_embedded_packer))))
(install
((section share)
(files (jbuild_protocol_template
jbuild_embedded_protocol_template))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))