Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Formula for the WordPress command line tools (wp-cli) #7892

Closed
wants to merge 1 commit into from

Conversation

andreascreten
Copy link
Contributor

Formula for the WordPress command line tools (asked for in this issue).

I'm not sure about the actual Formula and how I make the link for the wp command. This is a project in pure php with a simple bash script wrapping it. The Formula is currently only downloading the code and making the link manually.


def install
prefix.install Dir['*']
system "ln -s #{prefix}/wp-cli/wp /usr/local/bin"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be

ln_s prefix+'wp-cli/wp', bin+'wp'

(we can't install directly to /usr/local/bin).

@andreascreten
Copy link
Contributor Author

Opening a new pull request.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants