Skip to content

Commit 60398ac

Browse files
committed
Add initial version of build-ext
1 parent 9a35958 commit 60398ac

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

build-ext

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
TEMPLOC=`mktemp -d`
3+
cp -a /usr/src/cvs/eclipse-workspace/Contrib $TEMPLOC
4+
echo Copied data
5+
cd $TEMPLOC/Contrib
6+
git reset --hard
7+
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
8+
export PATH=${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:$PATH
9+
GITVERSION=`git describe`
10+
ant -Dbits=64 -Dgit.revision="$GITVERSION" -f freenet_ext/build.xml clean
11+
ant -Dbits=64 -Dgit.revision="$GITVERSION" -f freenet_ext/build.xml
12+
cp freenet_ext/freenet-ext.jar /root/freenet-ext.${GITVERSION}.jar
13+
gpg --sign --detach /root/freenet-ext.${GITVERSION}.jar
14+
cd /root
15+
sha1sum /root/freenet-ext.${GITVERSION}.jar > /root/freenet-ext.${GITVERSION}.jar.sha1
16+
sha256sum /root/freenet-ext.${GITVERSION}.jar > /root/freenet-ext.${GITVERSION}.jar.sha256
17+
rsync -v /root/freenet-ext.${GITVERSION}.jar* emu.freenetproject.org:/var/www/downloads/alpha/
18+

0 commit comments

Comments
 (0)