https://github.com/awojna/Rseslib
Tip revision: 5de1d5fd574ede15f017eb48396739665bc438c5 authored by awojna on 05 February 2018, 16:28:25 UTC
Minimum weka version changed to 3.8.0
Minimum weka version changed to 3.8.0
Tip revision: 5de1d5f
make-pkg.sh
#!/bin/bash
########################################################################
#
# Script preparing sources and Weka package of Rseslib
#
# 1. Update Rseslib version, date and URL in Description.props
# 2. Run maven with the goal 'package'
# 3. Run ./make-pkg.sh <new rseslib version>
#
########################################################################
version=$1
# clean old files
rm -f target/rseslib-$version-src.zip
rm -f target/Rseslib$version.zip
rm -rf target/weka
# prepare sources
git archive --format zip --output target/rseslib-$version-src.zip master src/ data/ COPYING
# prepare weka package
mkdir target/weka
cp Description.props target/weka/
cp target/rseslib-$version.jar target/weka/rseslib.jar
cd target/weka
zip -r ../Rseslib$version.zip *
cd ../..