ship default background in zip package
- add static resources to zip package - cat background.
This commit is contained in:
@@ -35,6 +35,9 @@ specific_run()
|
||||
create_zip_package()
|
||||
{
|
||||
dest=artloglaby/
|
||||
|
||||
# some static resources outside jar.
|
||||
static_resources=lab/titou20.xpm
|
||||
if [[ -e $dest ]]
|
||||
then
|
||||
echo "[ERROR] $dest already exists ! move it away ">&2
|
||||
@@ -49,7 +52,15 @@ create_zip_package()
|
||||
mkdir $dest/lab
|
||||
mkdir $dest/libs
|
||||
cp scripts/laby.sh $dest
|
||||
|
||||
for sr in $static_resources
|
||||
do
|
||||
if [[ -f $sr ]]
|
||||
then
|
||||
cp $sr $dest/$sr
|
||||
else
|
||||
echo "[ERROR] expecting static resource $sr" >&2
|
||||
fi
|
||||
done
|
||||
MAINJAR=""
|
||||
pushd dist/lib
|
||||
findmainjar
|
||||
|
||||
Reference in New Issue
Block a user