diff options
| author | nibbles 2bits | 2012-06-14 23:11:22 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-06-15 17:37:30 -0500 |
| commit | e908c674c14a45982c7a32a87302870b188a1ddd (patch) | |
| tree | a6050c38fb1acb6d78a5b0aa86a557dd48d989f3 /Library/Formula/wp-cli.rb | |
| parent | b224d581c90b8ce7d2ad4551077b6533351f3d54 (diff) | |
| download | homebrew-e908c674c14a45982c7a32a87302870b188a1ddd.tar.bz2 | |
wp-cli 0.4.0
Upgrade wp-cli to version 0.4.0.
Adjust the location of the source files because the directory
structure has changed.
Use `wp-cli.git', :tag => 'v0.4.0'` as the url so we checkout the
submodule too.
Add a version string to help with the odd tag name.
Closes #12853.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/wp-cli.rb')
| -rw-r--r-- | Library/Formula/wp-cli.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/wp-cli.rb b/Library/Formula/wp-cli.rb index fd25162e1..06a86feba 100644 --- a/Library/Formula/wp-cli.rb +++ b/Library/Formula/wp-cli.rb @@ -1,15 +1,16 @@ require 'formula' class WpCli < Formula - url 'https://github.com/downloads/andreascreten/wp-cli/wp-cli-0.2.zip' - homepage 'https://github.com/downloads/andreascreten/wp-cli/' + homepage 'https://github.com/andreascreten/wp-cli/' + url 'https://github.com/andreascreten/wp-cli.git', :tag => 'v0.4.0' + version '0.4.0' + head 'https://github.com/andreascreten/wp-cli.git' - md5 '2de14d7f39c746923cf87283f1f31ffb' def install - prefix.install Dir['wp-cli/*'] + prefix.install Dir['src/*'] # Install bash completion scripts for use with bash-completion - (prefix+'etc/bash_completion.d').install prefix+'bin/wp-cli-completion.bash' => 'wp' + (prefix+'etc/bash_completion.d').install 'utils/wp-completion.bash' => 'wp' end def caveats; <<-EOS.undent |
