Last change
on this file since 31 was
28,
checked in by Peter Johansson, 17 years ago
|
create svnstat_out in test program and make clean removes svnstat_output
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
421 bytes
|
Line | |
---|
1 | // $Id: tree.cc 28 2006-01-09 09:35:16Z peter $ |
---|
2 | |
---|
3 | #include "Directory.h" |
---|
4 | |
---|
5 | #include <string> |
---|
6 | #include <iostream> |
---|
7 | |
---|
8 | int main(const int argc,const char* argv[]) |
---|
9 | { |
---|
10 | using namespace theplu::svnstat; |
---|
11 | |
---|
12 | // bool print = (argc>1 && argv[1]==std::string("-p")); |
---|
13 | bool ok = true; |
---|
14 | |
---|
15 | Directory tree(std::string("c++_tools")); |
---|
16 | |
---|
17 | tree.purge(); |
---|
18 | tree.parse(); |
---|
19 | ok = ok && !system("mkdir svnstat_output >& /dev/null"); |
---|
20 | tree.print("svnstat_output/"); |
---|
21 | |
---|
22 | return (ok ? 0 : -1); |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.