An open API service indexing awesome lists of open source software.

https://github.com/there4/pake-cli

Provide global access to locally installed Pake instances
https://github.com/there4/pake-cli

Last synced: about 1 year ago
JSON representation

Provide global access to locally installed Pake instances

Awesome Lists containing this project

README

          

# Pake Command Line Interface [![Build Status](https://travis-ci.org/there4/pake-cli.png?branch=master)](https://travis-ci.org/there4/pake-cli)
> Locate and run a locally installed pake instance

## Deprecation Notice
I believe that the parent [Pake project](https://github.com/indeyets/pake) 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:

* [Deployer](https://deployer.org/)
* [Envoyer](https://envoyer.io/)
* [Laravel Forge](https://forge.laravel.com/)
* [Deploying with Git Hooks](https://www.digitalocean.com/community/tutorials/how-to-deploy-a-jekyll-site-using-git-hooks-on-ubuntu-16-04)

## About

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.

## Installation

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.

## Use

In a project, install pake with composer by creating a composer.json file and run `php composer.phar install`.

````json
{
"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.

## Thanks

This is based on the concept from [grunt-cli][gcli].

[gcli]: https://github.com/gruntjs/grunt-cli