depends on sharedrawweb library

create a fetch_dependencies.sh lazy script
move dependencies into libs/ directory
This commit is contained in:
philippe lhardy
2018-06-15 22:47:23 +02:00
parent 3a4255b6da
commit 032cb6a0f5
4 changed files with 21 additions and 2 deletions

16
fetch_dependencies.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
if [[ ! -d ../sharedrawweb ]]
then
echo "[ERROR] expected a sharedrawweb project parent ( for exports )" >&2
fi
if [[ ! -d libs ]]
then
mkdir libs
fi
if [[ ! -e libs/artgaphics-0.1.0.jar ]]
then
ln -s ../../sharedrawweb/dist/lib/artgaphics-0.1.0.jar libs/
fi