neronmoon / scriptsdev

Scripts-dev directive for composer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anyone to make it solved or talk about to solve this strange behaviour?

opened this issue · comments

#̶#̶#̶ ̶S̶t̶r̶a̶n̶g̶e̶ ̶b̶e̶h̶a̶v̶i̶o̶u̶r̶ ̶w̶i̶t̶h̶ ̶legacy-with-run-scripts-dev t̶e̶s̶t̶: PR #15

legacy-with-run-scripts-dev [['composer', 'update'], ['composer', '--no-dev', 'run-script', 'test']]

o̶u̶t̶p̶u̶t̶s̶:̶

Exception: EXPECTED
"SCRIPTSDEV RULEZ"
BUT FOUND
"SCRIPTSDEV RULEZ"

With the gone previous behaviour another wrong one comes out, this time with extra-with-custom-script-run-script-dev test: PR #15

Testing: extra-with-custom-script-run-script-dev [['composer', 'update'], ['composer', 'test']]
---------------------- outputs ---------------------
Exception: EXPECTED
"SCRIPTSDEV RULEZ"
BUT FOUND
""
-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌-͌͌͌͌͌͌͌͌͌͌͌͌-͌
I seems its working with post-install-cmd or post-update-cmd commands but with the test command? Maybe composer/composer#4542 can help somehow?