mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 17:10:22 +03:00
40 lines
847 B
Plaintext
40 lines
847 B
Plaintext
(rule
|
|
(targets allocations_familiales.ml allocations_familiales_api_web.ml)
|
|
(deps
|
|
(source_tree ..)
|
|
%{workspace_root}/compiler/plugins/api_web%{ext_plugin})
|
|
(action
|
|
(chdir
|
|
%{workspace_root}
|
|
(run
|
|
catala
|
|
api_web
|
|
-t
|
|
--plugin-dir=compiler/plugins
|
|
%{dep:allocations_familiales.catala_fr}))))
|
|
|
|
(rule
|
|
(targets allocations_familiales_schema.json)
|
|
(deps
|
|
(source_tree ..)
|
|
%{workspace_root}/compiler/plugins/json_schema%{ext_plugin})
|
|
(action
|
|
(chdir
|
|
%{workspace_root}
|
|
(run
|
|
catala
|
|
json_schema
|
|
-t
|
|
--plugin-dir=compiler/plugins
|
|
--scope=InterfaceAllocationsFamiliales
|
|
%{dep:allocations_familiales.catala_fr}))))
|
|
|
|
(rule
|
|
(target allocations_familiales.py)
|
|
(deps
|
|
(source_tree ..))
|
|
(action
|
|
(chdir
|
|
%{workspace_root}
|
|
(run catala Python -O %{dep:allocations_familiales.catala_fr}))))
|