Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 72a577998d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (17 sloc) 0.482 kB
#!/bin/sh
version=`sed -n -e 's/.*JIM_VERSION *\([0-9]*\).*/0.\1/p' jim.h`
if [ `git clean -nqx | wc -l` -ne 0 ]; then
git clean -nqx
echo "***: Tree not clean"
exit 1
fi
if [ `git status | grep modified: | wc -l` -ne 0 ]; then
git status
echo "***: Modified files exist"
exit 1
fi
mkdir jimtcl-$version
rsync --exclude=.git --exclude=jimtcl-$version -a ./ jimtcl-$version/
tar -czf jimtcl-$version.tar.gz jimtcl-$version
rm -rf jimtcl-$version
ls -l jimtcl-$version.tar.gz
Jump to Line
Something went wrong with that request. Please try again.