Files
tigerbrew/Library/Formula/wp-cli.rb
T
Andreas Creten 3dcce280e2 New formula: wp-cli
Closes #7954.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-08 19:59:46 -05:00

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