mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-17 14:25:08 -05:00
31 lines
528 B
Plaintext
31 lines
528 B
Plaintext
|
#!/bin/sh -
|
||
|
#
|
||
|
# build script for 1.5
|
||
|
#
|
||
|
# If it's given a buildname it creates a subdirectory and places a build in it,
|
||
|
# otherwise it just creates the docs and class files.
|
||
|
#
|
||
|
|
||
|
if [ "${JDKPATH}" = "" ]
|
||
|
then
|
||
|
JDKPATH=/usr/lib/jvm/java-7-openjdk-amd64
|
||
|
fi
|
||
|
|
||
|
JAVA_HOME=$JDKPATH
|
||
|
export JAVA_HOME
|
||
|
|
||
|
PATH=$JDKPATH/bin:$PATH
|
||
|
export PATH
|
||
|
|
||
|
if [ "$1" = "test" ]
|
||
|
then
|
||
|
ant -f ant/jdk15+.xml test
|
||
|
else
|
||
|
if ant -f ant/jdk15+.xml build-provider
|
||
|
then
|
||
|
ant -f ant/jdk15+.xml build
|
||
|
ant -f ant/jdk15+.xml zip-src
|
||
|
fi
|
||
|
fi
|
||
|
|