Skip to content
Snippets Groups Projects
Commit 9e807046 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Improve highlighting

parent 7afe84cc
No related branches found
No related tags found
1 merge request!33Full dev environment based on pixi-only
......@@ -80,10 +80,10 @@ variables:
local _env=$(has_any_string $(pixi_environments) "$1"); \
local _task=$(has_any_string $(pixi_tasks) "$2"); \
if [[ ${_env} == "not-found" || ${_task} == "not-found" ]]; then \
echo -e "*** missing environment or task for: \e[31mpixi run -e $1 $2\e[0m"; \
echo -e "\e[1m--> missing environment or task for: \e[31mpixi run -e $1 $2\e[0m"; \
exit 1; \
else \
echo -e "*** \e[32mpixi run -e ${_env} ${_task}\e[0m"; \
echo -e "\e[1m--> \e[32mpixi run -e ${_env} ${_task}\e[0m"; \
pixi run -e ${_env} ${_task}; \
fi \
}
......@@ -98,9 +98,9 @@ variables:
local _env=$(has_any_string $(pixi_environments) "$1"); \
local _task=$(has_any_string $(pixi_tasks) "$2"); \
if [[ ${_env} == "not-found" || ${_task} == "not-found" ]]; then \
echo -e "*** missing environment or task for: \e[33mpixi run -e $1 $2\e[0m"; \
echo -e "\e[1m--> missing environment or task for: \e[33mpixi run -e $1 $2\e[0m"; \
else \
echo -e "*** \e[32mpixi run -e ${_env} ${_task}\e[0m"; \
echo -e "\e[1m--> \e[32mpixi run -e ${_env} ${_task}\e[0m"; \
pixi run -e ${_env} ${_task}; \
fi \
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment