How to test recipes locally
Aerendir opened this issue · 2 comments
Aerendir commented
I'd like to create recipes for some of my open sourced bundles.
Before submitting a PR, I'd like to test the recipes locally.
Unfortunately I cannot find any information about how to do this, but I know it is possible.
Anyone that can explain me the flow to use to test locally the recipes? Thankyou!
ping @dunglas
maxhelias commented
It must have a private Flex server that allows this manipulation.
Otherwise, do your PR and when the symfony-flex-server
is valid you can check your recipe like this:
# Create a new project
composer create-project symfony/skeleton:dev flex-dev
cd flex-dev
# And get your recipe
SYMFONY_ENDPOINT=https://symfony.sh/r/github.com/symfony/recipes/{PR} composer req {recipe}
Aerendir commented
Ok, @maxhelias , thank you for your fast reply.
I will try ASAP... In the mean time, thank you again!