modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-11-28 21:52:23 +04:00
parent 2f59b883c1
commit a430909023
3 changed files with 8 additions and 6 deletions

10
bbnurse
View File

@ -45,7 +45,7 @@ function copy_mature() {
path="$src"
fi
tsrcdir=
nurturepackage='nur\sery'; nulibpackage='nulib'
nurserypackage='nur\sery'; nulibpackage='nulib'
if [ -n "$path" ]; then
srcpackage="nur/sery/$path"; srcpackage="${srcpackage//\//\\}"
destpackage="nulib/$path"; destpackage="${destpackage//\//\\}"
@ -87,7 +87,7 @@ function copy_mature() {
dest="$destdir/$srcname"
estep "$srcname"
mkdirof "$dest"
sed "s|${nurturepackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
else
# Maturation de toute un package
etitle "Maturation de $srcpackage vers $destpackage"
@ -98,7 +98,7 @@ function copy_mature() {
dest="$destdir/$srcname"
estep "$srcname"
mkdirof "$dest"
sed "s|${nurturepackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
done
if [ -n "$tsrcdir" ]; then
einfo "$tsrcdir --> $tdestdir"
@ -108,7 +108,7 @@ function copy_mature() {
dest="$tdestdir/$srcname"
estep "${src#$tsrcdir/}"
mkdirof "$dest"
sed "s|${nurturepackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
sed "s|${nurserypackage//\\/\\\\}|${nulibpackage//\\/\\\\}|g" <"$src" >"$dest"
done
fi
eend
@ -157,6 +157,8 @@ function update_mature() {
Dest="$(pwd)"
destdirs=()
[ -d src ] && destdirs+=("$Dest/src")
[ -d src_app ] && destdirs+=("$Dest/src_app")
[ -d src_web ] && destdirs+=("$Dest/src_web")
[ -d tests ] && destdirs+=("$Dest/tests")
fi

View File

@ -9,4 +9,4 @@ const NULIB_APP_app_params = [
"projdir" => __DIR__ . '/..',
"appcode" => \app\config\bootstrap::APPCODE,
];
require __DIR__.'/../vendor/nur/sery/src/app/cli/include-launcher.php';
require __DIR__.'/../vendor/nulib/php/php/src/app/cli/include-launcher.php';

View File

@ -5,7 +5,7 @@
require __DIR__.'/../vendor/autoload.php';
# Lancer une application en tâche de fond
use nur\sery\tools\BgLauncherApp;
use nulib\tools\BgLauncherApp;
use nur\sery\app;
# chemin vers le lanceur PHP