FriendsOfPHP / pickle

PHP Extension installer
Other
1.65k stars 89 forks source link

Install version by GH branch #254

Closed mvorisek closed 2 years ago

mvorisek commented 2 years ago

For development, I need other version than the tagged ones.

The doc does not mention this usecase - https://github.com/FriendsOfPHP/pickle#usage

This issue is a question. Does pickle support is, eg. does it know which GH repo to use and how to specify the wanted git branch as a version?

fabiang commented 2 years ago

You could checkout that branch with git into a folder and run pickle install /tmp/checkedoutrepo. The install commands also supports paths:

Description: Install a php extension
Usage: install [options] [--] []
Arguments: path Path to the PECL extension root directory (default pwd), archive or extension name [default: "/"]