flightphp / core

An extensible micro-framework for PHP
https://docs.flightphp.com
MIT License
2.64k stars 408 forks source link

Changed it so runway commands are run from any repo #586

Closed n0nag0n closed 6 months ago

n0nag0n commented 6 months ago

Runway is now just a shell, and each of the commands lives in a prospective repo that's defined in the paths for the runway repo itself.

So there will be a few commands in this core repo, there will be some in the active-record repo if you choose to have that repo in your project, and based on the dependencies you add, if they have specific commands for runway (usually saved in the src/commands/ directory), you can now use them automatically! :partying_face:

fadrian06 commented 6 months ago

woa, more dependencies of the dependency..fine :D

n0nag0n commented 6 months ago

So this is only a dev dependency. When you install flightphp/core, it does add the dependency. I had to add it as a dev dependency so it could be properly unit tested.