goose-studio/symlinked-extensions 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

goose-studio/symlinked-extensions

Composer 安装命令:

composer require goose-studio/symlinked-extensions

包简介

Replaces existing directories and/or adds symlinks to directories.

README 文档

README

Simple script that replaces a directory with a symlink. If the targeted directory does not exist symlink is still created. The symlink paths directory name is matched against the directories in the chosen target path.

Add below config to composer.json to run the script.

    "post-update-cmd": ["php vendor/bin/linkit"]

Example linkit.json

{
  "mu-plugins": {
    "target": "/web/app/mu-plugins/",
    "src": [
        "/home/projects/wordpress/my-plugin"    
    ]
  },
  "plugins": {
    "target": "/web/app/plugins/",
    "src": [
        "/home/projects/wordpress/my-plugin",
        "/home/projects/wordpress/my-plugin2"
    ]
  },
  "themes": {
    "target": "/web/app/themes/",
    "src": [
        "/home/projects/wordpress/my-theme"    
    ]
  }
}

Arguments

  • --test runs the script but without removing directories or symlinking
  • --no-dev excludes the script from running if "--no-dev" param is used in composer install/update.
  • --linkit=full_path_to_json_file use specified file as config.
  • --hide Do not print commands
  • --keep Do not remove existing folders, postfixes with number of folders.

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固