cppcheck/createrelease

20 lines
529 B
Plaintext
Raw Normal View History

2009-02-02 20:21:58 +01:00
#!/bin/bash
cd
echo "Creating source directory"
svn co https://cppcheck.svn.sourceforge.net/svnroot/cppcheck cppcheck-1.28
rm -R --force cppcheck-1.28/.svn
rm -R --force cppcheck-1.28/man/.svn
rm -R --force cppcheck-1.28/src/.svn
rm -R --force cppcheck-1.28/test/.svn
rm -R --force cppcheck-1.28/tools/.svn
rm -R --force cppcheck-1.28/win_installer/.svn
echo "Creating source packages"
tar cjvf cppcheck-1.28.tar.bz2 cppcheck-1.28
tar czvf cppcheck-1.28.tar.gz cppcheck-1.28
cd cppcheck-1.28
zip -r -9 ../cppcheck-1.28.zip *