1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-06 10:51:05 +01:00
bat/tests/syntax-tests/regression_test.sh
2020-08-03 15:59:53 +02:00

16 lines
389 B
Bash
Executable File
Vendored

#!/bin/bash
set -eou pipefail
script_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
output_directory=$(mktemp -d --suffix=.bat-syntax-regression-test)
"$script_directory"/create_highlighted_versions.py --output="$output_directory"
echo
"$script_directory"/compare_highlighted_versions.py \
"$script_directory/highlighted" \
"$output_directory"