Files
knaccc 3502200cff removed use of java records, since they're a preview feature and causing a clash with the packaging which won't allow preview features to be enabled
added pipefail to bash scripts to more thoroughly catch errors
version bump to 1.19
readme now communicates that monerod comes preconfigured with I2P-accessible monerod peers
2020-11-26 18:59:47 +00:00

28 lines
830 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
if [ $(uname -s) = Darwin ]; then
basedir=$(dirname $(cd "$(dirname "$0")"; pwd -P))
else
basedir=$(dirname $(dirname $(readlink -fm $0)))
fi
rm -fr "$basedir/target" "$basedir/dist"
# retrieve the I2P Java sources, OpenJDK and the Ant build tool
"$basedir"/bin/import-packages.sh
# build tool that normalizes zip/jar files for reproducible builds
"$basedir"/bin/build-normalize-zip.sh
# build the i2p project retrieved from the I2P repository
"$basedir"/bin/build-original-i2p.sh
# convert the jar files from an existing I2P build into modules suitable for use with jlink
"$basedir"/bin/convert-jars-to-modules.sh
# compile the Java source code in this project, and then use the jlink tool
# to build a zero-dependency platform-specific launcher
"$basedir"/bin/build-launcher.sh