Download this file
14 lines (10 with data), 374 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13 | #!/usr/bin/env python
import os, sys
def clean():
print 'cleaning...'
os.system('rm -f *.bbl *.blg *.dvi *.log *.toc *.aux *.tex *.out *~ #*')
os.system('rm -f examples/*~ examples/*.pyc')
for arg in sys.argv[1:]:
if arg=='clean': clean()
elif arg=='whatever': pass # add your funcs here
else: raise ValueError('Unrecognized command "%s"' % arg)
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.