From: Martin Mares Date: Thu, 27 Mar 2014 18:07:41 +0000 (+0100) Subject: Templater: Templates for stdio tasks X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=09e3eb7794c7c95ee123bff487c60a50ed467c7c;p=eval.git Templater: Templates for stdio tasks Temporary hack for MO 2014 --- diff --git a/mop/project/templater.pl b/mop/project/templater.pl index e9a500c..bd48da1 100755 --- a/mop/project/templater.pl +++ b/mop/project/templater.pl @@ -18,20 +18,15 @@ sub create_template($$$$) { "$where/template-c.cbp" => "$task.cbp", "$where/template.layout" => "$task.layout", "$taskdir/$task/$task.c" => "$task.c", - "$taskdir/$task/$task-main.c" => "$task-main.c", - "$taskdir/$task/$task.h" => "$task.h", }, cpp => { "$where/template-cpp.cbp" => "$task.cbp", "$where/template.layout" => "$task.layout", "$taskdir/$task/$task.cpp" => "$task.cpp", - "$taskdir/$task/$task-main.cpp" => "$task-main.cpp", - "$taskdir/$task/$task.h" => "$task.h", }, pas => { "$where/template-pas.lpi" => "${task}_main.lpi", "$taskdir/$task/$task.pas" => "$task.pas", - "$taskdir/$task/${task}_main.pas" => "${task}_main.lpr", } ); my $files = $files{$ext} // die "Unknown ext $ext\n"; diff --git a/mop/project/templater/template-c.cbp b/mop/project/templater/template-c.cbp index 08f7b7f..5fe4fbf 100644 --- a/mop/project/templater/template-c.cbp +++ b/mop/project/templater/template-c.cbp @@ -36,13 +36,9 @@ - - - diff --git a/mop/project/templater/template-cpp.cbp b/mop/project/templater/template-cpp.cbp index 3dab2e1..51dd58f 100644 --- a/mop/project/templater/template-cpp.cbp +++ b/mop/project/templater/template-cpp.cbp @@ -36,13 +36,9 @@ - - - diff --git a/mop/project/templater/template-pas.lpi b/mop/project/templater/template-pas.lpi index d4ba0af..72168b3 100644 --- a/mop/project/templater/template-pas.lpi +++ b/mop/project/templater/template-pas.lpi @@ -38,19 +38,14 @@ - + - - - - - - +