diff --git a/modules/GCC10.php b/modules/GCC10.php new file mode 100644 index 0000000..73fa807 --- /dev/null +++ b/modules/GCC10.php @@ -0,0 +1,15 @@ +patch->setBranch('10'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?> diff --git a/modules/GCC8.php b/modules/GCC8.php new file mode 100644 index 0000000..ffc9b37 --- /dev/null +++ b/modules/GCC8.php @@ -0,0 +1,15 @@ +patch->setBranch('8'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?> diff --git a/modules/GCC9.php b/modules/GCC9.php new file mode 100644 index 0000000..0dff3f8 --- /dev/null +++ b/modules/GCC9.php @@ -0,0 +1,15 @@ +patch->setBranch('9'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?>