make prints the recipe it runs, and « ./install.sh » offered an installation to read where one opens a menu. The launcher adds nothing but a name and passes every argument to install.sh, which alone keeps picking an interpreter able to READ the code and stays the entry point of a fresh machine. A test caps todo.sh at six lines of code and refuses it python3, bin/python and sort -V: two copies of that choice would drift. The changelog names the launcher. Checked: chain run through to the menu, exit 0; 9 tests. --- FR --- [ADD] todo : lanceur todo.sh, que make affiche à la place d'install.sh make affiche la recette qu'il exécute, et « ./install.sh » y donnait à lire une installation là où l'on ouvre un menu. Le lanceur n'ajoute qu'un nom et passe chaque argument à install.sh, qui garde seul le choix d'un interpréteur capable de LIRE le code et reste le point d'entrée d'une machine neuve. Un test plafonne todo.sh à six lignes de code et lui refuse python3, bin/python et sort -V : deux copies de ce choix dériveraient. Le changelog nomme le lanceur. Vérifié : chaîne lancée jusqu'au menu, sortie 0 ; 9 tests. Assisted-by: Claude Opus 5 Assisted-by: Claude Opus 5.5
12 lines
383 B
Makefile
12 lines
383 B
Makefile
########
|
|
# TODO #
|
|
########
|
|
|
|
# Par todo.sh, et non todo.py directement : la chaîne passe par install.sh,
|
|
# qui choisit un interpréteur capable de LIRE le code avant de le lancer et
|
|
# pose le venv s'il manque. Le nom dit ce qui se passe : make affiche la
|
|
# recette, et « ./install.sh » y donnait à lire une installation là où l'on
|
|
# ouvre un menu.
|
|
.PHONY: todo
|
|
todo:
|
|
./todo.sh
|