Command not working in tests because of tput #4946
Unanswered
dnsv
asked this question in
Writing Formulae/Casks
Replies: 1 comment 3 replies
-
What's the output if you run with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a Formulae for a shell script that utilizes
tput
for text styling (e.g.BOLD="$(tput bold)"
). The script works after installing it via Brew, however, tests are failing because oftput
. The script works if I comment out all lines involvingtput
. I suspect that the problem may stem from missing dependencies in the test environment.I attempted to address this by adding
depends on "ncurses"
(containstput
command), but it didn't resolve the issue. What am I still missing?Here's my formulae:
Output:
Beta Was this translation helpful? Give feedback.
All reactions