Closed macburgee1 closed 5 years ago
Composer is caching WDN, so updates are not pulled with composer update. Also, only run deploy script if unl/wdntemplates is a package being updated or installed.
We could also make this optional by adding a flag '--no-wdn' or '--with-wdn'.
Will conflict with #35 when merged.
master
has been merged into issue-10-wdn-composer
.
Composer doesn't allow for custom flags or arguments to be passed via CLI. I'm going to investigate moving this functionality to a custom script that must be run separate from composer install
or composer update
; perhaps composer install-wdn
.
UnlScriptHander::deployWdn() is no longer run automatically. It must be executed with a composer command: composer install-wdn
. This should address the issue of differing local development stacks and workflows.
Currently, a developer must manually download wdntemplates at web/wdn. This issue seeks to use composer to download the library as a dev dependency.