Mercurial > projects > qtd
view build/rm.d @ 203:d3383b16f1d7
Add a 'NO_DEPS_SOURCES' option to the 'add_d_target' macro. And use it for resources and forms in QtD examples.
author | SokoL_SD |
---|---|
date | Mon, 13 Jul 2009 17:27:34 +0000 |
parents | e78566595089 |
children |
line wrap: on
line source
import tango.io.FilePath; import tango.io.Stdout; import tango.text.Util; void main (char[][] args) { foreach(arg; args[1..$]) { try { auto a = replace(arg,'\\','/'); auto file = new FilePath(arg); if (file.exists()) { file.remove(); Stdout.format("'{}' removed", arg).newline; } } catch { Stdout.format("Error: '{}' don`t removed", arg).newline; } } }