modifs.mineures sans commentaires
This commit is contained in:
parent
2f59b883c1
commit
a430909023
10
bbnurse
10
bbnurse
|
@ -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
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue