phptars/tars-deploy

此包的最新版本(0.1.1)没有提供许可证信息。

tarsphp 打包

0.1.1 2018-09-11 12:18 UTC

This package is auto-updated.

Last update: 2024-09-15 20:15:31 UTC


README

  1. 需要 Phar 扩展

  2. 确保项目下的. / tar / tar.proto.php 文件存在并包含以下内容


return array(

'appName' = >

'servername' = >

...

);

  1. 将 tar deploy 添加到项目的 composer.json 文件中。

  2. 将以下内容添加到项目的 composer.json 文件中


"Scripts": {

"deploy": "\\Tars\\deploy\\Deploy::run"

}

  1. 在项目目录中执行以下命令以生成要上传的项目压缩包。
    composer run-script deploy