Skip to content

Commit

Permalink
Add drush
Browse files Browse the repository at this point in the history
  • Loading branch information
marktheunissen committed Aug 22, 2012
1 parent 102e9b7 commit cbd5a6e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions common-tasks/ubuntu-drush.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
##
# Drush install, a Drupal shell tool.
#
# Ubuntu only due to using apt.
#
- name: PEAR for obtaining drush.
action: apt pkg=php-pear state=installed
tags: drush

- name: Update PEAR.
action: command pear upgrade-all
tags: drush

- name: Setup PEAR channel for drush
action: command pear channel-discover pear.drush.org creates=/usr/share/php/.channels/pear.drush.org.reg
tags: drush

- name: Install drush for Drupal
action: command pear install drush/drush creates=/usr/bin/drush
tags: drush

- name: Run drush once so it downloads it's dependencies.
action: command drush
tags: drush

0 comments on commit cbd5a6e

Please sign in to comment.