mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
Add custom binary check-update support for artifacts
This commit is contained in:
11
src/StaticPHP/Attribute/Artifact/CustomBinaryCheckUpdate.php
Normal file
11
src/StaticPHP/Attribute/Artifact/CustomBinaryCheckUpdate.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace StaticPHP\Attribute\Artifact;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
|
||||
class CustomBinaryCheckUpdate
|
||||
{
|
||||
public function __construct(public string $artifact_name, public array $support_os) {}
|
||||
}
|
||||
Reference in New Issue
Block a user