From f7b71e73e60c329d34a20577ba0efdb82305ea78 Mon Sep 17 00:00:00 2001 From: MatMasIt <34745996+MatMasIt@users.noreply.github.com> Date: Wed, 14 Jul 2021 14:42:46 +0200 Subject: [PATCH] Create buildreadme.php --- buildtools/buildreadme.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 buildtools/buildreadme.php diff --git a/buildtools/buildreadme.php b/buildtools/buildreadme.php new file mode 100644 index 0000000..6153593 --- /dev/null +++ b/buildtools/buildreadme.php @@ -0,0 +1,36 @@ +"){ + $writeStuff=false; + $endB.=$line; + foreach($poems as $p) $endB.="* ".$p."\n"; + } + if($writeStuff) $endB.=$line; + if(trim($line)==""){ + $endB.=$line; + $writeStuff=true; + } +} + +file_put_contents("../README.md",$endB); +