repo.or.cz
/
mplayer-build.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement submodule recursion in Python
[mplayer-build.git]
/
clean
blob
962b6d71927c2f5a8772bbb495e09c090bbdfe13
1
#!/usr/bin/env python
2
3
from
subprocess
import
check_call
4
from
script
.
helpers
import
GitWrapper
5
6
def
main
():
7
git
=
GitWrapper
()
8
check_call
(
'rm -rf build_libs ffmpeg_build'
.
split
())
9
def
cmd
():
10
check_call
(
'git clean -x -d -f'
.
split
())
11
git
.
foreach_submodule
(
cmd
)
12
13
main
()