root/lang/objective-cplusplus/i3/trunk/scripts/clean_distdir.sh @ 36538

Revision 36538, 0.6 kB (checked in by saturday06, 3 years ago)

bn

Line 
1# -*- coding: utf-8-unix -*-
2
3# XXX execute in ${distdir}
4
5mydir=`echo $0 | sed 's,[^/]*$,,'`
6. ${mydir}clean_dust.sh
7
8find . -type d -iname ".svn"  | xargs rm -rf
9find . -type d -iname "CVS"   | xargs rm -rf
10
11find . -type f -iname "*.gch" | xargs rm -f
12
13cd windows
14
15rm -rf bin fakecygpty.exe build dist installer/obj installer/bin
16
17for target in \
18    "*.csproj.*.user" \
19    "*.vcproj.*.user" \
20    "*.suo" \
21    "*.ncb" \
22    "*.aps" \
23    "*.ilk" \
24    "*.pdb" \
25    "*.lastcodeanalysissucceeded" \
26    "*.CodeAnalysisLog.xml" \
27    ; do
28    find . -iname "${target}" | xargs rm -f
29done
30
31
Note: See TracBrowser for help on using the browser.