refactor env var logic out to packages, abomination of a zig-cc script...

This commit is contained in:
DubbleClick
2025-06-26 14:24:00 +07:00
parent d30ccb810c
commit fae2878c41
5 changed files with 125 additions and 34 deletions

View File

@@ -10,8 +10,7 @@ abstract class CustomPackage
abstract public function fetch(string $name, bool $force = false, ?array $config = null): void;
public function extract(string $name): void
{
throw new \RuntimeException("Extract method not implemented for package: {$name}");
}
abstract public function extract(string $name): void;
abstract public static function getEnvironment(): array;
}