Add GCC 13
This commit is contained in:
parent
c101839661
commit
e7cc3765c5
1 changed files with 15 additions and 0 deletions
15
modules/GCC13.php
Normal file
15
modules/GCC13.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class GCC13 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
|
||||
$this->patch->setBranch('13');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://gcc.gnu.org/'))
|
||||
return $this->parse('/<span class="version"><a href="gcc-13\/">GCC ([\d\.]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue