Skip to content

Contributing code to the Backdrop drush extension.

Geoff St. Pierre edited this page Dec 25, 2018 · 1 revision

I develop with a lando dev stack, which is very flexible, but can be tricky to load in the drush source code to develop on (rather than pulling in a release). Here is the .lando.yml file I use to dev on the Backdrop drush extension source code:

name: drush                                                                     
recipe: backdrop                                                                
config:                                                                         
  webroot: web                                                                  
  backdrush: false                                                              
                                                                                
services:                                                                       
  appserver:                                                                    
    run_as_me:                                                                  
      - git clone [email protected]:drush-ops/drush.git web/drush                     
      - cd web/drush && git checkout 8.x && composer install                       
      - cd $LANDO_WEBROOT                                                       
      - git clone [email protected]:backdrop-contrib/drush.git web/drush/commands/backdrop
                                                                                
tooling:                                                                        
  drush:                                                                        
    service: appserver                                                          
    cmd:                                                                        
      - "/app/web/drush/drush"
Clone this wiki locally