The project is offered under either licence, at the user's choice. Every source header now carries the SPDX expression in place of the AGPL line; the copyright line is unchanged. LICENSES/ holds both published texts, pinned by SHA-256 and identical to the copies the page ships. The root LICENSE becomes a short notice: the full AGPL text there would make forges and licence scanners report the AGPL alone. Checked: 685 header lines swapped and nothing else; node 6264, guards 207, build test 8, browser 1420, documentation verifier 0 faults. --- FR --- [UPD] licence : double AGPL-3.0-or-later ou LiLiQ-R+, en-têtes SPDX Le projet est offert sous l'une ou l'autre licence, au choix de l'utilisateur. Chaque en-tête de source porte l'expression SPDX à la place de la ligne AGPL ; la ligne de copyright ne change pas. LICENSES/ garde les deux textes publiés, épinglés par SHA-256 et identiques aux copies que la page livre. LICENSE devient une courte notice : le texte AGPL entier y ferait annoncer l'AGPL seule par les forges et les détecteurs de licence. Vérifié : 685 lignes d'en-tête remplacées, rien d'autre ; node 6264, gardes 207, construction 8, navigateur 1420, documentation 0 faute. Assisted-by: Claude Opus 5.5
22 lines
743 B
Bash
Executable file
22 lines
743 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# © 2026 TechnoLibre (http://www.technolibre.ca)
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later OR LiLiQ-Rplus-1.1
|
|
|
|
# Exécute une commande à la racine du projet, le Node du projet en tête du
|
|
# PATH, une fois l'installation vérifiée : c'est par lui que le Makefile
|
|
# lance npm, npx et node. Sous NixOS, la commande s'exécute dans
|
|
# scripts/installation/shell.nix.
|
|
#
|
|
# scripts/installation/avec_node.sh npm test
|
|
set -euo pipefail
|
|
. "$(dirname -- "$0")/commun.sh"
|
|
|
|
if [ $# -eq 0 ]; then
|
|
gtt_dire "usage : scripts/installation/avec_node.sh <commande> [argument…]"
|
|
exit 2
|
|
fi
|
|
[ "$(gtt_famille)" = windows ] && gtt_powershell avec_node.ps1 "$@"
|
|
gtt_dans_nix_shell "$0" "$@"
|
|
cd -- "$GTT_RACINE"
|
|
gtt_preparer
|
|
exec "$@"
|