Scope binary tools installed using composer

This commit is contained in:
Shivam Mathur
2021-12-31 00:03:15 +05:30
parent 7789b4e03e
commit f24f33ea89
9 changed files with 134 additions and 65 deletions

View File

@ -1,7 +1,8 @@
add_tools_helper() {
tool=$1
if [ "$tool" = "codeception" ]; then
sudo ln -s "${composer_bin:?}"/codecept "${composer_bin:?}"/codeception
codeception_bin=$(grep codeception_bin "${GITHUB_ENV:?}" | cut -d '=' -f 2)
sudo ln -s "${codeception_bin:?}"/codecept "${codeception_bin:?}"/codeception
elif [ "$tool" = "composer" ]; then
configure_composer "${tool_path:?}"
elif [ "$tool" = "cs2pr" ]; then