Shell variable subsitution in makefile
I would like to have command in Makefile that allows me to change service’s target in docker-compose.yaml respectively to target given command parameter. I have something like this: example: @[[ "$${target:-dev}" == @(dev|test|release) ]] || exit 1 yq -y -i ‘.services."$(service)".build.target = "$(target)"’ docker-compose.yaml This almost do the job, but I have this parameter to… Read More Shell variable subsitution in makefile