smmccabe / phpdebt

Technical Debt Calculator
GNU General Public License v3.0
19 stars 9 forks source link

Handling of global installation #4

Open gmemstr opened 5 years ago

gmemstr commented 5 years ago

Currently, the script requires that the project being analyzed has either the modules it uses to be included in the project's vendor file, or the script itself (from which the dependencies will be pulled). This should not be assumed to be true, especially when using the smmccabe/docker docker image. Ideally, the script could detect if it is installed globally, and then fall back to using the globally installed commands.

smmccabe commented 5 years ago

I think we should probably just bundle it up as a phar?

gmemstr commented 5 years ago

Probably the easiest solution, then Github's release functionality can be used for better versioning as an added bonus.

hopeseekr commented 5 years ago

I'll definitely do this.