forked from calibre2opds/calibre2opds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakenotests.sh
29 lines (26 loc) · 996 Bytes
/
makenotests.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
28
29
#!/bin/sh
# Script to build Calibre2opds on 'unix' like systems such as linux
# or mac omitting the building and running of the tests.
#
# Most of the time you would not do this, but there are times where
# you have made change you want to test that breaks the tests.
# Temporarily avoiding the tests during the build allows you test
# the change before upgrading the tests.
# 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 -Dmaven.test.skip=true dependency:copy-dependencies