Blame SOURCES/clean-tarball.sh

f50859
#!/bin/bash
f50859
f50859
version=$(grep Version: *spec | sed -e 's/Version:\s*\(.*\)/\1/')
f50859
f50859
wget https://github.com/cbeust/testng/archive/testng-${version}.tar.gz \
f50859
    -O testng-${version}.tar.gz
f50859
f50859
rm -rf testng-testng-${version}
f50859
tar xvf testng-${version}.tar.gz
f50859
mv testng-testng-${version} testng-${version}
f50859
f50859
f50859
# TestClass has possible licensing issues so just clean that set of tests
f50859
rm -rf testng-${version}/src/test/java/test/preserveorder/
f50859
f50859
find testng-${version} -iname '*.jar' -delete
f50859
find testng-${version} -iname '*.class' -delete
f50859
f50859
tar cf testng-${version}.tar.gz testng-${version}