matiux/php-project-autopilot

dev-master 2023-07-26 13:27 UTC

This package is auto-updated.

Last update: 2024-09-26 15:55:15 UTC


README

通过在composer.json文件中添加cp命令将脚本移动到项目中

{
  "scripts": {
    "post-install-cmd": [
      "bash vendor/matiux/php-project-autopilot/src/configure.sh"
    ],
    "post-update-cmd": [
      "bash vendor/matiux/php-project-autopilot/src/configure.sh"
    ]
  }
}

安装后,如有必要,通过编辑my_config.sh文件来自定义check_all、setup函数以及支持的运算列表。

您还可以覆盖现有函数

cp tools/bin/project/override.template.sh tools/bin/project/override.sh