forked from calibre2opds/calibre2opds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.sh
27 lines (24 loc) · 835 Bytes
/
make.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# Script to build Calibre2opds on 'unix' like systems such as linux
# or mac including the building and running of the supplied tests.
#
# If you want to build without invoking the tests, then use the
# makenotests.sh script instead
# The build system needs to know how to find the svnversion command
if [ ! -f $SVN_HOME/bin/svnversion ]
then
# Try commonest default install location as a convenience
SVN_HOME=/usr
export SVN_HOME
if [ ! -f $SVN_HOME/bin/svnversion ]
then
echo
echo ERROR: Unable to locate the svnversion location
echo
echo Please set the SVN_HOME environment variable to the
echo appropriate value either before running this script
echo or by editing this script appropriately.
echo
fi
fi
mvn clean install dependency:copy-dependencies