also preprocess the executable

This commit is contained in:
Lesenechal Remi 2019-12-11 19:07:52 +01:00
parent 787d4689a0
commit 61d095ea28
4 changed files with 24 additions and 7 deletions

View File

@ -31,7 +31,7 @@
(modules runligo)
(package ligo)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils))
)

View File

@ -27,6 +27,8 @@
parser_cameligo)
(modules
LexerMain)
(preprocess
(pps bisect_ppx --conditional))
(flags (:standard -open Parser_shared -open Parser_cameligo)))
(executable
@ -36,4 +38,6 @@
(modules
ParserAPI
ParserMain)
(preprocess
(pps bisect_ppx --conditional))
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))

View File

@ -17,8 +17,7 @@
tezos-utils
)
(preprocess
(pps bisect_ppx --conditional)
)
(pps bisect_ppx --conditional))
(flags (:standard -open Parser_shared -open Simple_utils))
)
@ -30,18 +29,25 @@
tezos-utils
parser_pascaligo)
(modules
LexerMain)
(flags (:standard -open Parser_shared -open Parser_pascaligo)))
LexerMain)
(preprocess
(pps bisect_ppx --conditional))
(flags (:standard -open Parser_shared -open Parser_pascaligo))
)
(executable
(name ParserMain)
(libraries
parser_pascaligo)
(modules ParserMain)
(preprocess
(pps bisect_ppx --conditional))
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_pascaligo)))
(executable
(name Unlexer)
(preprocess
(pps bisect_ppx --conditional))
(modules Unlexer))
;; Les deux directives (rule) qui suivent sont pour le dev local.

View File

@ -28,9 +28,13 @@
(name LexerMain)
(libraries
parser_reasonligo)
(modules
(modules
LexerMain)
(flags (:standard -open Parser_shared -open Parser_reasonligo)))
(preprocess
(pps bisect_ppx --conditional)
)
(flags (:standard -open Parser_shared -open Parser_reasonligo))
)
(executable
(name ParserMain)
@ -40,4 +44,7 @@
(modules
ParserAPI
ParserMain)
(preprocess
(pps bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils -open Parser_cameligo -open Parser_shared -open Parser_reasonligo)))