composer.json を以下のようにした。
{
"name": "hogehoge-app",
"repositories": [
{
"type": "pear",
"url": "http://pear.cakephp.org"
}
],
"extra": {
"installer-paths": {
"app/Plugin/DebugKit": ["cakephp/debug_kit"],
"app/Plugin/Migrations": ["cakedc/migrations"]
}
},
"require": {
"pear-cakephp/cakephp": "*",
"cakedc/migrations": "*"
},
"require-dev": {
"phpunit/phpunit": "3.7.*",
"cakephp/debug_kit": "*"
},
"config": {
"vendor-dir": "Vendor/Composer"
}
}
"extra"っていうパラメータにインストールパスを渡せるらしい。 今後もプラグインは基本これで管理していくとリポジトリが大分スマートな感じなる(気がする)
0 件のコメント:
コメントを投稿