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