2019-09-05 17:21:01 +04:00
|
|
|
;; -*- 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)))
|
|
|
|
|
2019-11-21 22:28:38 +04:00
|
|
|
;;; for ligo, don't test this
|
|
|
|
; (alias
|
|
|
|
; (name runtest)
|
|
|
|
; (deps (alias runtest_dune_template)))
|