mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +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. *)
|
||||
Nj.build "post-test" ~inputs:[reference; test_out]
|
||||
~implicit_in:["always"]
|
||||
~outputs:[reference ^ "@post"]
|
||||
~outputs:[(!Var.builddir / reference) ^ "@post"]
|
||||
:: acc)
|
||||
[] item.legacy_tests
|
||||
in
|
||||
@ -740,7 +740,8 @@ let gen_build_statements
|
||||
~implicit_in:
|
||||
("always"
|
||||
:: List.map
|
||||
(fun test -> legacy_test_reference test ^ "@post")
|
||||
(fun test ->
|
||||
(!Var.builddir / legacy_test_reference test) ^ "@post")
|
||||
item.legacy_tests);
|
||||
results;
|
||||
]
|
||||
@ -751,7 +752,8 @@ let gen_build_statements
|
||||
~implicit_out:[srcv ^ "@test"]
|
||||
~inputs:
|
||||
(List.map
|
||||
(fun test -> legacy_test_reference test ^ "@post")
|
||||
(fun test ->
|
||||
(!Var.builddir / legacy_test_reference test) ^ "@post")
|
||||
item.legacy_tests);
|
||||
results;
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user