You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Build/Meta] Make make smarter about installing dependencies (#10004)
This makes the `make` command smarter about when to run `composer
install` or `npm ci` instead of constantly doing it every single time
you build.
`composer install --no-dev` will only be run if the vendor directory is
missing or the composer.lock has changed. `composer install` will only
be run if the needed tool (phpunit or phan) from dev is required for the
target being run and either he composer.lock has been changed or the
tool is missing (because `composer install --no-dev` generated the
vendor directory.)
Similarly, `npm ci` will now only be run if the node_modules directory
is missing or the package-lock.json file has been modified.
There were a few .PHONY rules which were either no longer used
meta-targets relevant or never were used that are removed as a result of
these changes. (phpdev, fastdev, jsdev)
Co-authored-by: Dave MacFarlane <[email protected]>
0 commit comments