初始化

This commit is contained in:
2026-03-11 18:35:09 +08:00
commit a227deaecd
4332 changed files with 631008 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#! /usr/bin/env bash
# Remove dev deps to reduce phar size
rm -rf composer.lock vendor/
# Generate composer.lock
composer install --no-dev
# Find SDK version
version=$(grep 'const OSS_VERSION' src/OSS/OssClient.php | grep -oE '[0-9.]+')
# Build phar
phar-composer build . aliyun-oss-php-sdk-$version.phar