Skip to content

Commit cfcffda

Browse files
committed
refactor: xterm flag not needed
1 parent a042fb1 commit cfcffda

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ DOCKER_CMD =
88

99
COMPOSER_RUN = $(DOCKER_CMD) composer
1010

11-
ifneq (,$(findstring xterm,${TERM}))
12-
BLACK := $(shell tput -Txterm setaf 0)
13-
RED := $(shell tput -Txterm setaf 1)
14-
GREEN := $(shell tput -Txterm setaf 2)
15-
YELLOW := $(shell tput -Txterm setaf 3)
16-
LIGHTPURPLE := $(shell tput -Txterm setaf 4)
17-
PURPLE := $(shell tput -Txterm setaf 5)
18-
BLUE := $(shell tput -Txterm setaf 6)
19-
WHITE := $(shell tput -Txterm setaf 7)
20-
RST := $(shell tput -Txterm sgr0)
11+
ifneq ($(TERM),)
12+
BLACK := $(shell tput setaf 0)
13+
RED := $(shell tput setaf 1)
14+
GREEN := $(shell tput setaf 2)
15+
YELLOW := $(shell tput setaf 3)
16+
LIGHTPURPLE := $(shell tput setaf 4)
17+
PURPLE := $(shell tput setaf 5)
18+
BLUE := $(shell tput setaf 6)
19+
WHITE := $(shell tput setaf 7)
20+
RST := $(shell tput sgr0)
2121
else
2222
BLACK := ""
2323
RED := ""

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
<div align="center">
1515
<a href="https://actions-badge.atrox.dev/wayofdev/php-package-tpl/goto"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Flotyp%2Fdotfiles%2Fbadge&style=flat-square"/></a>
16+
<a href="https://github.com/wayofdev/php-package-tpl/tags"><img src="https://img.shields.io/github/v/tag/wayofdev/php-package-tpl?sort=semver&style=flat-square" alt="Latest Version"></a>
1617
<a href="LICENSE"><img src="https://img.shields.io/github/license/wayofdev/php-package-tpl.svg?style=flat-square&color=blue" alt="Software License"/></a>
1718
<a href="#"><img alt="Commits since latest release" src="https://img.shields.io/github/commits-since/wayofdev/php-package-tpl/latest?style=flat-square"></a>
1819
</div>

0 commit comments

Comments
 (0)