aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorArne Jørgensen2014-08-22 10:49:28 +0200
committerMike McQuaid2014-08-22 16:48:53 +0100
commit51200137536a9311c8af681158eb593dedad6553 (patch)
tree8f8f73b7abaf1f792e4b09ae979c0e2e92393113 /Library
parent2276957ee1d048479f913383bc0d35daddb4578f (diff)
downloadhomebrew-51200137536a9311c8af681158eb593dedad6553.tar.bz2
drush: move to Homebrew/php tap.
Closes #31726. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/drush.rb22
-rw-r--r--Library/Homebrew/tap_migrations.rb1
2 files changed, 1 insertions, 22 deletions
diff --git a/Library/Formula/drush.rb b/Library/Formula/drush.rb
deleted file mode 100644
index 5434501da..000000000
--- a/Library/Formula/drush.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require 'formula'
-
-class Drush < Formula
- homepage 'https://github.com/drush-ops/drush'
- head 'https://github.com/drush-ops/drush.git'
- url 'https://github.com/drush-ops/drush/archive/6.3.0.tar.gz'
- sha1 '90fde5acfbd6feefad02453ee9f31a0ac6d2f80e'
-
- def install
- prefix.install_metafiles
- libexec.install Dir['*'] - ['drush.bat']
- (bin+'drush').write <<-EOS.undent
- #!/bin/sh
-
- export ETC_PREFIX=${ETC_PREFIX:=#{HOMEBREW_PREFIX}}
- export SHARE_PREFIX=${SHARE_PREFIX:=#{HOMEBREW_PREFIX}}
-
- exec "#{libexec}/drush" "$@"
- EOS
- bash_completion.install libexec/'drush.complete.sh' => 'drush'
- end
-end
diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb
index 8159142d6..94b957839 100644
--- a/Library/Homebrew/tap_migrations.rb
+++ b/Library/Homebrew/tap_migrations.rb
@@ -18,6 +18,7 @@ TAP_MIGRATIONS = {
"denyhosts" => "homebrew/boneyard",
"dotwrp" => "homebrew/science",
"drizzle" => "homebrew/boneyard",
+ "drush" => "homebrew/php",
"dsniff" => "homebrew/boneyard",
"grads" => "homebrew/binary",
"gromacs" => "homebrew/science",