source:
trunk/anuga_core/source/anuga/count_lines.py
@
8968
Last change on this file since 8968 was 7865, checked in by hudson, 14 years ago | |
---|---|
File size: 274 bytes |
Line | |
---|---|
1 | """Count total number of lines of code in ANUGA |
2 | """ |
3 | |
4 | import os |
5 | |
6 | cmd_string = 'find . -type f -name "*.py" -print | xargs wc -l' |
7 | print cmd_string |
8 | os.system(cmd_string) |
9 | |
10 | |
11 | cmd_string = 'find . -type f -name "*.c" -print | xargs wc -l' |
12 | print cmd_string |
13 | os.system(cmd_string) |
14 | |
15 |
Note: See TracBrowser
for help on using the repository browser.