Skip to content

Commit

Permalink
feat(notty): Add non-TTY as a helper
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Feb 9, 2024
1 parent 5aff296 commit 3a60011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build:

.PHONY: test
test:
@PHPCTL_TTY=--label=no-tty COMPOSER_AUTH= TERM= ./lib/bashunit ./tests/
@COMPOSER_AUTH= TERM= notty ./lib/bashunit ./tests/

.PHONY: install
install:
Expand Down
2 changes: 2 additions & 0 deletions bin/notty
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
PHPCTL_TTY="--label=no-tty" $@

0 comments on commit 3a60011

Please sign in to comment.