mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-21 01:30:45 -06:00
style: less red
This commit is contained in:
parent
d0290aec94
commit
7028853169
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue