PatchBot/modules/GCC12.php
2022-05-10 13:18:46 +02:00

15 lines
383 B
PHP

<?php
class GCC12 extends PatchBase {
function __construct() {
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
$this->patch->setBranch('12');
}
function check() : bool {
if ($this->fetch('https://gcc.gnu.org/'))
return $this->parse('/<span class="version"><a href="gcc-12\/">GCC ([\d\.]+)/');
return false;
}
}
?>