From eccf96b703d52aa0b392afe92eb4aef859ef1776 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 27 Jul 2020 06:33:48 +0200 Subject: Meta: Find potentially missing resources --- Meta/lint-missing-resources.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 Meta/lint-missing-resources.sh (limited to 'Meta/lint-missing-resources.sh') diff --git a/Meta/lint-missing-resources.sh b/Meta/lint-missing-resources.sh new file mode 100755 index 0000000000..fa8646bc98 --- /dev/null +++ b/Meta/lint-missing-resources.sh @@ -0,0 +1,18 @@ +#!/bin/sh +set -e pipefail + +script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) +cd "$script_path/.." + +# The dollar symbol in sed's argument is for "end of line", not any shell variable. +# shellcheck disable=SC2016 +grep -Pirh '(?