Locate and run a locally installed pake instance
I believe that the parent Pake project is no longer under development. I am retiring any active support for this repository and will soon archive it.
If you are looking for modern build systems, you should check out:
Install this and pake
will find and execute pake from the bin folder as managed by Composer. This is currently an early version, and it can get bogged down in searching. But, it's quite quick when the pake file is in the expected ./vendor/bin/
and you are in the project root.
Copy the bin/pake
file from this project into your path and make sure it's marked as executable chmod a_+x pake
. It's a php phar file, and is self contained and doesn't need any dependencies.
In a project, install pake with composer by creating a composer.json file and run php composer.phar install
.
{
"require": {
"indeyets/pake": "~1.99"
}
}
This will provide the pake bin in ./vendor/bin/pake
. Install the pake-cli file into your path, and you'll be able to simply run pake
. It'll find the local pake and execute it.
This is based on the concept from grunt-cli.