style: less red

This commit is contained in:
Daylin Morgan 2023-01-19 21:43:16 -06:00
parent d0290aec94
commit 7028853169
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@ c clean: ## remove the generated files
define version_check_sh
if [[ "${VERSION}" == *'-'* ]]; then
$(call tprint-sh,{a.red}VERSION INVALID! Uncommited or untagged work{a.end})
$(call tprint-sh,{a.red}VERSION INVALID!{a.end} Uncommited or untagged work)
exit 1
elif [[ $(shell echo "${VERSION}" | awk -F. '{ print NF }') -lt 3 ]];then\
$(call tprint-sh,{a.red}VERSION INVALID! Expected CalVer string{a.end})
$(call tprint-sh,{a.red}VERSION INVALID!{a.end} Expected CalVer string)
exit 1
fi
endef