ligo/vendors/ligo-utils/tezos-protocol-alpha/dune
2019-11-21 12:28:38 -06:00

22 lines
462 B
Plaintext

;; -*- mode: dune; -*-
(include dune.inc)
(rule
(targets "dune.inc.gen")
(deps TEZOS_PROTOCOL (glob_files *.ml) (glob_files *.mli))
(action
(run
%{libexec:tezos-protocol-compiler:replace}
%{libexec:tezos-protocol-compiler:dune_protocol.template}
"dune.inc.gen")))
(alias
(name runtest_dune_template)
(action (diff dune.inc dune.inc.gen)))
;;; for ligo, don't test this
; (alias
; (name runtest)
; (deps (alias runtest_dune_template)))