Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (18 sloc) 0.467 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/sh

set -e

version=@VERSION@
distdir=jscoverage-${version}
zipfile=${distdir}-windows.zip

rm -fr $distdir
mkdir $distdir

cp -a doc $distdir
cp -a jscoverage.exe jscoverage-server.exe $distdir
strip $distdir/*.exe
cp -a COPYING $distdir
unix2dos $distdir/COPYING
cp -a README $distdir/README.txt
unix2dos $distdir/README.txt

timestamp=`cat TIMESTAMP`
find $distdir -exec touch -d "$timestamp" {} \;

rm -f $zipfile
zip -X -r $zipfile $distdir -x '*/.svn/*'
Something went wrong with that request. Please try again.