承接 openeuropa/task-runner-drupal-project-symlink 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

openeuropa/task-runner-drupal-project-symlink

Composer 安装命令:

composer require openeuropa/task-runner-drupal-project-symlink

包简介

OpenEuropa TaskRunner command to symlink a Drupal project codebase within a development site, built locally via Composer.

README 文档

README

The Drupal project symlink Task Runner command aims at simplifying Drupal development, when using a Composer-based workflow.

Assuming that, as result of running composer install, a Drupal site is build in the current Drupal project directory, this command will symlink project files within that Drupal site, by respecting Drupal coding conventions. It will also avoid to symlink directories like the current Drupal site root and the vendor directory, so to avoid a code recursion.

Installation

Require the command as a dev dependency:

composer require --dev openeuropa/task-runner-drupal-project-symlink

Make sure the command runs after composer install:

"scripts": {
    "post-install-cmd": "./vendor/bin/run drupal:symlink-project",
},

Usage

Make sure to always run the following command, after adding/removing files or directories in the project root:

./vendor/bin/run drupal:symlink-project

You can also prevent files and/or directories from being symlinked by using the following configuration in your runner.yml file, as showed in the example below:

drupal_project_symlink:
  ignore:
    - directory-to-ignore
    - file-to-ignore.txt

Step debugging

To enable step debugging from the command line, pass the XDEBUG_SESSION environment variable with any value to the Docker container:

docker-compose exec -e XDEBUG_SESSION=1 web <your command>

Please note that, starting from XDebug 3, a connection error message will be outputted in the console if the variable is set but your client is not listening for debugging connections. The error message will cause false negatives for PHPUnit tests.

To initiate step debugging from the browser, set the correct cookie using a browser extension or a bookmarklet like the ones generated at https://www.jetbrains.com/phpstorm/marklets/.

统计信息

  • 总下载量: 55.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 23
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: EUPL-1.2
  • 更新时间: 2021-04-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固