mirror of https://github.com/i2p-zero/i2p-zero
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
651 B
21 lines
651 B
#!/bin/bash
|
|
|
|
if [ $(uname -s) = Darwin ]; then
|
|
basedir=$(dirname $(cd "$(dirname "$0")"; pwd -P))
|
|
else
|
|
basedir=$(dirname $(dirname $(readlink -fm $0)))
|
|
fi
|
|
|
|
# retrieve the I2P Java sources, OpenJDK and the Ant build tool
|
|
$basedir/bin/import-packages.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
|