Blame SOURCES/make-mockito-sourcetarball.sh

868010
#!/bin/sh
868010
#set -x
868010
868010
VERSION=1.9.0
868010
SRCDIR=mockito-${VERSION}
868010
868010
hg clone https://code.google.com/p/mockito/ ${SRCDIR}
868010
pushd $SRCDIR
868010
hg archive --prefix ${SRCDIR} -t tar -r ${VERSION} ../${SRCDIR}.tar
868010
popd
868010
868010
rm -rf ${SRCDIR}
868010
868010
tar -xf ${SRCDIR}.tar
868010
pushd ${SRCDIR}
868010
rm -rf `find -name *.jar` build.gradle cglib-and-asm doc gradle gradlew gradlew.bat
868010
dos2unix `find -name *.java`
868010
popd
868010
868010
tar -cvJf mockito-${VERSION}.tar.xz ${SRCDIR}