mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
Clerk: fix @post file popping in src dirs
This commit is contained in:
parent
6972de06ad
commit
fcb7ef61ff
@ -712,7 +712,7 @@ let gen_build_statements
|
|||||||
reset but that shouldn't cause trouble. *)
|
reset but that shouldn't cause trouble. *)
|
||||||
Nj.build "post-test" ~inputs:[reference; test_out]
|
Nj.build "post-test" ~inputs:[reference; test_out]
|
||||||
~implicit_in:["always"]
|
~implicit_in:["always"]
|
||||||
~outputs:[reference ^ "@post"]
|
~outputs:[(!Var.builddir / reference) ^ "@post"]
|
||||||
:: acc)
|
:: acc)
|
||||||
[] item.legacy_tests
|
[] item.legacy_tests
|
||||||
in
|
in
|
||||||
@ -740,7 +740,8 @@ let gen_build_statements
|
|||||||
~implicit_in:
|
~implicit_in:
|
||||||
("always"
|
("always"
|
||||||
:: List.map
|
:: List.map
|
||||||
(fun test -> legacy_test_reference test ^ "@post")
|
(fun test ->
|
||||||
|
(!Var.builddir / legacy_test_reference test) ^ "@post")
|
||||||
item.legacy_tests);
|
item.legacy_tests);
|
||||||
results;
|
results;
|
||||||
]
|
]
|
||||||
@ -751,7 +752,8 @@ let gen_build_statements
|
|||||||
~implicit_out:[srcv ^ "@test"]
|
~implicit_out:[srcv ^ "@test"]
|
||||||
~inputs:
|
~inputs:
|
||||||
(List.map
|
(List.map
|
||||||
(fun test -> legacy_test_reference test ^ "@post")
|
(fun test ->
|
||||||
|
(!Var.builddir / legacy_test_reference test) ^ "@post")
|
||||||
item.legacy_tests);
|
item.legacy_tests);
|
||||||
results;
|
results;
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user