pff: support nettoyage wsdl/

This commit is contained in:
Jephté Clain 2022-02-07 22:20:19 +04:00
parent 9a018a6f51
commit 06686d98f1
1 changed files with 8 additions and 0 deletions

8
pff
View File

@ -867,6 +867,14 @@ function new_cmd_amue_clean_libs() {
rm -f WEB-INF/lib/*
fi
}
function new_cmd_amue_clean_wsdl() {
# en mode distribution "patch", supprimer le contenu du répertoire
# WEB-INF/wsdl si ces fichiers sont relivrés
[ "$DISTTYPE" == patch ] || return
if [ -n "$(/bin/ls -d "$srcdir/WEB-INF/wsdl"/* 2>/dev/null)" ]; then
rm -f WEB-INF/wsdl/*
fi
}
function new_cmd() {
local autopatch="$1" version="$2" disttype="$3" unwrap="$4" merge_strategy="$5" commit_policy="$6"; shift; shift; shift; shift; shift; shift