We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f8d1bb commit 72833c7Copy full SHA for 72833c7
scripts/try_input.sh
@@ -7,6 +7,17 @@
7
# $ scripts/try_input.sh < <HELP_MSG_FILE>
8
# $ pbpaste | scripts/try_input.sh
9
10
+set -euo pipefail
11
+
12
+# change dir to scripts/
13
+cd "$(dirname "${BASH_SOURCE[0]}")"
14
15
+echo "building docker image ..."
16
+docker build -f ../tests/docker/bat-test.dockerfile -t bat-test .. &> /dev/null
17
+printf '\e[A\e[K' # clear previous line
18
+image_id=$(docker image inspect --format "{{.Id}}" bat-test)
19
+echo "using docker image $image_id"
20
21
bat_options=(--no-config --plain --language=cmd-help --force-colorization)
22
23
cat |
0 commit comments