diff options
Diffstat (limited to 'src/target.cpp')
-rw-r--r-- | src/target.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/target.cpp b/src/target.cpp deleted file mode 100644 index 3150c38..0000000 --- a/src/target.cpp +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #include "target.h" | ||
2 | #include "build.h" | ||
3 | #include "viewer.h" | ||
4 | |||
5 | Target::Target() : | ||
6 | bRun( false ) | ||
7 | { | ||
8 | } | ||
9 | |||
10 | Target::~Target() | ||
11 | { | ||
12 | } | ||
13 | |||
14 | void Target::run( Action::eAction nAct, Build &bld ) | ||
15 | { | ||
16 | bRun = true; | ||
17 | |||
18 | bld.getView()->beginCommand( nAct, sName ); | ||
19 | switch( nAct ) | ||
20 | { | ||
21 | case Action::actCheck: | ||
22 | check( bld ); | ||
23 | break; | ||
24 | |||
25 | case Action::actClean: | ||
26 | clean( bld ); | ||
27 | break; | ||
28 | } | ||
29 | bld.getView()->endCommand(); | ||
30 | } | ||
31 | |||