diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2021-01-01 22:37:34 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-06 17:00:44 -0500 |
commit | f17584ca0ee4d6bbc0893c0a62a0dc2fa293d2b8 (patch) | |
tree | 31f3d5d4b0fdc2f43cc4595f709ea216d0d06ea5 /app/run-test.sh | |
parent | 56ec200bae7610bae32c558cf1302b02d433471d (diff) |
chore: standardize # style headers
Changes made with regex plus some manual tweaks.
Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm
Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3
PR: #564
Diffstat (limited to 'app/run-test.sh')
-rwxr-xr-x | app/run-test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/run-test.sh b/app/run-test.sh index ea3f91b..dd3c752 100755 --- a/app/run-test.sh +++ b/app/run-test.sh @@ -1,9 +1,8 @@ #!/bin/sh -# + # Copyright (c) 2020 The ZMK Contributors -# # SPDX-License-Identifier: MIT -# + if [ -z "$1" ]; then echo "Usage: ./run-test.sh <path to testcase>" exit 1 |