Mercurial > hg > Members > kono > Cerium
diff bin/cerium @ 329:7839cb3e928f
add task/config/tasks.xml lib/tasks.xml
author | aaa |
---|---|
date | Fri, 12 Jun 2009 15:29:27 +0900 |
parents | f8006660a45c |
children | 71ca8637fcc1 |
line wrap: on
line diff
--- a/bin/cerium Fri Jun 12 02:15:06 2009 +0900 +++ b/bin/cerium Fri Jun 12 15:29:27 2009 +0900 @@ -2,6 +2,8 @@ use strict; +use XML::LibXML; + my $command = shift; my $main = "main.cc"; my $task_config = "tasks.xml"; @@ -184,6 +186,10 @@ } sub make { + + return if ( ! -e $task_config ); + my $xml = XML::LibXML->new(); + my @nodes = $doc->findnodes('//surface'); } __END__