buki / dht_gin_custom
此包的最新版本(dev-master)没有可用的许可信息。
DHT Gin 自定义样式
dev-master
2024-04-16 11:38 UTC
Requires
- php: >=8.1.0
- drupal/gin: ^3.0@RC
This package is not auto-updated.
Last update: 2024-10-02 12:31:30 UTC
README
信息
安装
composer require dhtpublic/dht_gin_custom
开发
必须遵守 Drupal 编码标准 。代码、机器名称和注释必须使用英文。
新版本
为新版本创建新标签,遵循 semver.org 标准。
查看当前的标签和版本
git tag
创建新版本
git tag x.x.x
推送新标签
git push --tags
处理模块中的 .git 文件夹问题
Regardless of whether composer require or update the module in a project, please head to the contrib/dht_gin_custom folder and delete the .git folder
It could help adding following script to the composer.json if not allready included.
"scripts": {
"post-install-cmd": [
"@composer drupal:scaffold",
"find htdocs/vendor -name '.git' | xargs rm -rf",
"find htdocs/vendor -name '.git' | xargs rm -rf",
"find htdocs/modules -name '.git' | xargs rm -rf",
"find htdocs/modules -name '.github' | xargs rm -rf"
],
"post-update-cmd": [
"@composer drupal:scaffold",
"find htdocs/vendor -name '.git' | xargs rm -rf",
"find htdocs/vendor -name '.git' | xargs rm -rf",
"find htdocs/modules -name '.git' | xargs rm -rf",
"find htdocs/modules -name '.github' | xargs rm -rf"
]
}