mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
19 lines
410 B
Ruby
19 lines
410 B
Ruby
require 'formula'
|
|
|
|
class WpCli < Formula
|
|
url 'https://github.com/downloads/andreascreten/wp-cli/wp-cli-0.1.zip'
|
|
homepage 'https://github.com/andreascreten/wp-cli/'
|
|
head 'https://github.com/andreascreten/wp-cli.git'
|
|
md5 'afeb5d8f33b35980a71b37d4718ccd7e'
|
|
|
|
def install
|
|
prefix.install Dir['*']
|
|
bin.mkpath
|
|
ln_s prefix+'wp-cli/wp', bin
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/wp"
|
|
end
|
|
end
|