From 39e2971e96137bd61fb3f577164728cfbcaeb55b Mon Sep 17 00:00:00 2001 From: sharkdp Date: Fri, 25 May 2018 17:44:50 +0200 Subject: [PATCH] Add .ignore files to avoid searching asset folders --- assets/.ignore | 2 ++ tests/benchmarks/.ignore | 1 + tests/benchmarks/comparison.sh | 2 ++ tests/benchmarks/run-benchmarks.sh | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 assets/.ignore create mode 100644 tests/benchmarks/.ignore diff --git a/assets/.ignore b/assets/.ignore new file mode 100644 index 00000000..e182b288 --- /dev/null +++ b/assets/.ignore @@ -0,0 +1,2 @@ +syntaxes/* +themes/* diff --git a/tests/benchmarks/.ignore b/tests/benchmarks/.ignore new file mode 100644 index 00000000..5a8f199b --- /dev/null +++ b/tests/benchmarks/.ignore @@ -0,0 +1 @@ +test-src/* diff --git a/tests/benchmarks/comparison.sh b/tests/benchmarks/comparison.sh index 56bb1474..b6e7e9da 100644 --- a/tests/benchmarks/comparison.sh +++ b/tests/benchmarks/comparison.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if ! which hyperfine > /dev/null 2>&1; then echo "'hyperfine' does not seem to be installed." echo "You can get it here: https://github.com/sharkdp/hyperfine" diff --git a/tests/benchmarks/run-benchmarks.sh b/tests/benchmarks/run-benchmarks.sh index ec132745..252c3008 100644 --- a/tests/benchmarks/run-benchmarks.sh +++ b/tests/benchmarks/run-benchmarks.sh @@ -1,3 +1,5 @@ +#!/bin/bash + if ! which hyperfine > /dev/null 2>&1; then echo "'hyperfine' does not seem to be installed." echo "You can get it here: https://github.com/sharkdp/hyperfine"