]> git.argeo.org Git - gpl/argeo-tp.git/blob - specs/org.argeo.tp/biz.aQute.bnd/build.sh
Simplify and improve TP packaging
[gpl/argeo-tp.git] / specs / org.argeo.tp / biz.aQute.bnd / build.sh
1 #!/bin/bash
2
3 source ../../../bin/argeo-builder
4 argeo_builder_variables $PWD
5
6 VERSION=2.0.0
7
8 echo Checkout
9 [ -d $SOURCE_DIR ] && echo git pull || mkdir -p $SOURCE_DIR; (cd $SOURCE_DIR && git clone git://github.com/bndtools/bnd.git .);
10 #mkdir -p $SOURCE_DIR
11
12
13 echo Build
14 reset_dir $BUILD_DIR
15 (cd $BUILD_DIR && git clone file://$SOURCE_DIR .)
16 (cd $BUILD_DIR && run_ant dist)
17
18 push_to_cache $BUILD_DIR/dist/bundles/biz.aQute.bnd/biz.aQute.bnd-$VERSION.jar
19 push_to_cache $BUILD_DIR/dist/bundles/biz.aQute.bndlib/biz.aQute.bndlib-$VERSION.jar
20