Mercurial > projects > qtd
annotate build/rm.d @ 410:bb0c0bbca312
Added wrappers for the QFontMetrics methods taking tabstop arrays.
Also removed some stray code template instantiations.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sun, 20 Mar 2011 20:43:06 +0100 |
parents | e78566595089 |
children |
rev | line source |
---|---|
1 | 1 import tango.io.FilePath; |
2 import tango.io.Stdout; | |
3 import tango.text.Util; | |
4 void main (char[][] args) | |
5 { | |
6 foreach(arg; args[1..$]) | |
7 { | |
8 try | |
9 { | |
10 auto a = replace(arg,'\\','/'); | |
11 auto file = new FilePath(arg); | |
12 if (file.exists()) | |
13 { | |
14 file.remove(); | |
15 Stdout.format("'{}' removed", arg).newline; | |
16 } | |
17 } | |
18 catch | |
19 { | |
20 Stdout.format("Error: '{}' don`t removed", arg).newline; | |
21 } | |
22 } | |
23 } |