File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ drush:
74
74
# Specify a folder where Drush should store its file based caches. If unspecified, defaults to $HOME/.drush.
75
75
# cache-directory: /tmp/.drush
76
76
77
+ # Enable to make Drush follow symlinks when searching for commandfiles. This
78
+ # is typically best only done for setting up test fixtures for Drush extensions.
79
+ command-follow-symlinks : false
80
+
77
81
# This section is for setting global options.
78
82
options :
79
83
# Specify the base_url that should be used when generating links.
Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ protected function commandDiscovery()
354
354
$ discovery
355
355
->setIncludeFilesAtBase (true )
356
356
->setSearchDepth (3 )
357
+ ->followLinks ($ this ->getConfig ()->get ('drush.command-follow-symlinks ' ))
357
358
->ignoreNamespacePart ('contrib ' , 'Commands ' )
358
359
->ignoreNamespacePart ('custom ' , 'Commands ' )
359
360
->ignoreNamespacePart ('src ' )
You can’t perform that action at this time.
0 commit comments