Skip to content

Commit

Permalink
Fix CI error with tput in shell scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Oct 30, 2023
1 parent 5704893 commit 32669fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions tests/emscripten/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ configuration=debug
platform=x64
jsinterp=node

red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
red=`tput -T ansi setaf 1`
green=`tput -T ansi setaf 2`
reset=`tput -T ansi sgr0`

generate=true

Expand Down
6 changes: 3 additions & 3 deletions tests/napi/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ rootdir="$dir/../.."
configuration=Release
platform=x64

red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
red=`tput -T ansi setaf 1`
green=`tput -T ansi setaf 2`
reset=`tput -T ansi sgr0`

echo "${green}Generating bindings${reset}"
dotnet $rootdir/bin/${configuration}_${platform}/CppSharp.CLI.dll \
Expand Down
6 changes: 3 additions & 3 deletions tests/quickjs/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ configuration=debug
platform=x64
jsinterp="$rootdir/deps/quickjs/qjs-debug"

red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
red=`tput -T ansi setaf 1`
green=`tput -T ansi setaf 2`
reset=`tput -T ansi sgr0`

generate=true

Expand Down
6 changes: 3 additions & 3 deletions tests/ts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ configuration=debug
platform=x64
jsinterp="$rootdir/deps/quickjs/qjs-debug"

red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
red=`tput -T ansi setaf 1`
green=`tput -T ansi setaf 2`
reset=`tput -T ansi sgr0`

generate=true

Expand Down

0 comments on commit 32669fb

Please sign in to comment.