forked from I2P_Developers/i2p.i2p
maven script cleanups
This commit is contained in:
@@ -2426,14 +2426,6 @@
|
||||
</target>
|
||||
|
||||
<target name="mavenLocal.deps" depends="buildRouter, buildStreaming">
|
||||
<ant dir="core/java/">
|
||||
</ant>
|
||||
<ant dir="router/java/">
|
||||
</ant>
|
||||
<ant dir="apps/ministreaming/java/">
|
||||
</ant>
|
||||
<ant dir="apps/streaming/java/">
|
||||
</ant>
|
||||
<ant dir="apps/jetty/">
|
||||
<target name="servletJar" />
|
||||
</ant>
|
||||
|
||||
@@ -4,6 +4,7 @@ I2P_SOURCE_DIR="$(realpath $SCRIPT_DIR/../..)"
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "You must run the script with the build number as first argument. Example ./script 6"
|
||||
exit 1
|
||||
fi
|
||||
BUILD_NUMBER="$1"
|
||||
|
||||
@@ -11,7 +12,7 @@ cd $I2P_SOURCE_DIR
|
||||
ant mavenLocal || (echo "Build failed!!!" && exit 1)
|
||||
|
||||
# Append right build number to jar files (and everything else but we don't care)
|
||||
cd $I2P_SOURCE_DIR/pkg-mavencentral
|
||||
cd $I2P_SOURCE_DIR/pkg-mavencentral || (echo "Build failed!!!" && exit 1)
|
||||
for file in `ls -1`; do
|
||||
filename=$(basename -- "$file")
|
||||
extension="${filename##*.}"
|
||||
|
||||
Reference in New Issue
Block a user