phptars / tars-deploy
此包的最新版本(0.1.1)没有提供许可证信息。
tarsphp 打包
0.1.1
2018-09-11 12:18 UTC
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-09-15 20:15:31 UTC
README
-
需要 Phar 扩展
-
确保项目下的. / tar / tar.proto.php 文件存在并包含以下内容
return array(
'appName' = >
'servername' = >
...
);
-
将 tar deploy 添加到项目的 composer.json 文件中。
-
将以下内容添加到项目的 composer.json 文件中
"Scripts": {
"deploy": "\\Tars\\deploy\\Deploy::run"
}
- 在项目目录中执行以下命令以生成要上传的项目压缩包。
composer run-script deploy