mirror of https://github.com/sharkdp/bat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
Bash
16 lines
389 B
Bash
4 years ago
|
#!/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"
|