2022-07-29 17:39:33 +03:00
|
|
|
(rule
|
|
|
|
(targets aides_logement.ml aides_logement_api_web.ml)
|
|
|
|
(deps
|
|
|
|
(source_tree ..)
|
2022-08-04 15:13:58 +03:00
|
|
|
%{workspace_root}/compiler/plugins/api_web%{ext_plugin})
|
2022-07-29 17:39:33 +03:00
|
|
|
(action
|
2022-08-04 15:13:58 +03:00
|
|
|
(chdir
|
|
|
|
%{workspace_root}
|
|
|
|
(run
|
|
|
|
catala
|
|
|
|
api_web
|
|
|
|
-t
|
|
|
|
--plugin-dir=compiler/plugins
|
|
|
|
%{dep:aides_logement.catala_fr}))))
|
2022-08-01 16:37:06 +03:00
|
|
|
|
|
|
|
(rule
|
|
|
|
(targets aides_logement_schema.json)
|
|
|
|
(deps
|
|
|
|
(source_tree ..)
|
2022-08-04 15:13:58 +03:00
|
|
|
%{workspace_root}/compiler/plugins/json_schema%{ext_plugin})
|
2022-08-01 16:37:06 +03:00
|
|
|
(action
|
2022-08-04 15:13:58 +03:00
|
|
|
(chdir
|
|
|
|
%{workspace_root}
|
|
|
|
(run
|
|
|
|
catala
|
|
|
|
json_schema
|
|
|
|
-t
|
|
|
|
--plugin-dir=compiler/plugins
|
|
|
|
"--scope=CalculetteAidesAuLogementGardeAltern\195\169e"
|
|
|
|
%{dep:aides_logement.catala_fr}))))
|
2022-08-03 16:21:09 +03:00
|
|
|
|
|
|
|
(rule
|
|
|
|
(target aides_logement.py)
|
|
|
|
(deps
|
|
|
|
(source_tree ..))
|
|
|
|
(action
|
2022-08-04 15:13:58 +03:00
|
|
|
(chdir
|
|
|
|
%{workspace_root}
|
|
|
|
(run catala Python -O %{dep:aides_logement.catala_fr}))))
|