[New] Added development and download pages

This commit is contained in:
Robert von Burg 2014-03-22 00:15:05 +01:00
parent caf631b37f
commit 9c1a73235f
1 changed files with 11 additions and 13 deletions

View File

@ -34,20 +34,18 @@ while read project; do
fi
echo "INFO: Copying ${project} packages..."
if ! ls target/*.jar 2>/dev/null ; then
if ls target/*.jar 2>/dev/null ; then
if ! cp target/*.jar "${workDir}" ; then
echo "ERROR: Failed to copy package for project ${project}."
exit 1
fi
else if ls target/*.war 2>/dev/null ; then
if ! cp target/*.war "${workDir}" ; then
echo "ERROR: Failed to copy wars for project ${project}."
exit 1
fi
else
echo "INFO: Project ${project} has no target, skipping."
cd ..
continue
fi
if ! cp target/*.jar "${workDir}" ; then
echo "ERROR: Failed to copy package for project ${project}."
exit 1
fi
if ! cp target/*.jar "${DIST_STROLCH}" ; then
echo "ERROR: Failed to publish package for project ${project}."
exit 1
fi
cd ..