/[escript]/branches/3.4/packaging/debuntu/extracttests.sh
ViewVC logotype

Annotation of /branches/3.4/packaging/debuntu/extracttests.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4452 - (hide annotations)
Thu Jun 13 01:40:40 2013 UTC (5 years, 9 months ago) by jfenwick
Original Path: branches/release3.4/packaging/debuntu/extracttests.sh
File MIME type: application/x-sh
File size: 866 byte(s)
In preparation for release.

1 jfenwick 4078
2     DEST=../testfiles
3     mkdir $DEST
4     if [ $? != 0 ]
5     then
6     echo "$DEST directory exists. Exiting"
7     exit 1
8     fi
9    
10     cp -r * $DEST
11     cd $DEST
12    
13     rm -rf bin
14     rm -rf debian/
15     rm -rf lib
16     rm -rf packaging
17     rm -f config.log CREDITS.txt log README_LICENSE SConstruct svn_version utest.sh
18     find . -name '.s*' | xargs rm -rf
19     find . -name 'src' | xargs rm -rf
20     find . -name 'py_src' | xargs rm -rf
21     find . -name 'SConscript' | xargs rm -rf
22     find . -name '*.c' | xargs rm -rf
23     find . -name '*.h' | xargs rm -rf
24     find . -name '*.cpp' | xargs rm -rf
25     rm -rf tools site_scons scons scripts
26     rm -rf release
27     find build -type f | xargs rm
28     rm -rf esys
29     find . -name '__pycache__' | xargs rm -rf
30     find . -name '*.tex' | xargs rm -rf
31     cd doc
32     rm -rf epydoc cookbook doxygen install inversion manpage user *.sh *.cls
33     cd ..
34     find . -name '*.pyc' | xargs rm
35    
36     cd ..
37     tar -czf testfiles.tar.gz testfiles
38     rm -rf testfiles
39    
40    
41    
42    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26