modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-06-17 23:01:46 +04:00
parent 378f5fa107
commit cdbe041226
2 changed files with 41 additions and 0 deletions

19
check-nur.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
source /etc/nulib.sh || exit 1
include_wip=
args=(
"vérifier que src/ n'utilise pas de classes de nur\\"
#"usage"
-w,--include-wip .
)
parse_args "$@"; set -- "${args[@]}"
if [ -n "$include_wip" ]; then
function filter() { cat; }
else
function filter() { grep -v '^src/wip/'; }
fi
grep -rP '^use nur\\(?!sery)' src | filter

View File

@ -16,9 +16,14 @@ parse_args "$@"; set -- "${args[@]}"
cd "$MYDIR"
# tout ce qui est entre if false; ...; fi a déjà été migré
if false; then
FROM=../nur-tests
sy src/ nur_src/t/
fi
if false; then
FROM=../nur-base
sy src_api/ nur_src/
for i in b cli config data io m php ref tools v; do
@ -28,33 +33,50 @@ sy public/ nur_public/
##sy sbin/ nur_sbin/ --exclude /composer.phar
sy tests/ nur_tests/
#sy tbin/ nur_tbin/
fi
if false; then
FROM=../nur-v-bs3
sy src/ nur_src/v/bs3/
sy public/ nur_public/
fi
if false; then
FROM=../nur-m-pdo
sy src/ nur_src/m/pdo/
fi
if false; then
FROM=../nur-m-oracle
sy src/ nur_src/m/oracle/
fi
if false; then
FROM=../nur-m-pgsql
sy src/ nur_src/m/pgsql/
fi
if false; then
FROM=../nur-mapper
sy src/ nur_src/mapper/
sy tests/ nur_tests/mapper/
#sy tbin/ nur_tbin/
fi
if false; then
FROM=../nur-passwd
sy src/ nur_src/passwd/
sy tests/ nur_tests/passwd/
#sy tbin/ nur_tbin/
fi
if false; then
FROM=../nur-ldap
sy src/ nur_src/ldap/
sy tests/ nur_tests/ldap/
#sy tbin/ nur_tbin/
fi
if false; then
./nur_sbin/update_classes.php
fi