diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2021-01-01 23:56:40 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-01 23:06:41 -0500 |
commit | 5a7266289879c429982e33b80a33a11f4485c0da (patch) | |
tree | fb86081e522b477edbc0f8fa6a9c657525881a48 | |
parent | 61893e453b90dcb8fb84745b009457375764f7f4 (diff) |
chore: standardize C style headers
Changes made with regex plus some manual tweaks.
Find:
/^\/\*.*\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: #565
-rw-r--r-- | app/boards/arm/nrf52840_m2/nrf52840_m2.dts | 1 | ||||
-rw-r--r-- | app/boards/shields/jorne/jorne.dtsi | 2 | ||||
-rw-r--r-- | app/boards/shields/jorne/jorne_left.overlay | 2 | ||||
-rw-r--r-- | app/boards/shields/jorne/jorne_right.overlay | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/app/boards/arm/nrf52840_m2/nrf52840_m2.dts b/app/boards/arm/nrf52840_m2/nrf52840_m2.dts index f9354ed..e090842 100644 --- a/app/boards/arm/nrf52840_m2/nrf52840_m2.dts +++ b/app/boards/arm/nrf52840_m2/nrf52840_m2.dts @@ -1,5 +1,6 @@ /* * Copyright (c) 2020 The ZMK Contributors + * * SPDX-License-Identifier: MIT */ diff --git a/app/boards/shields/jorne/jorne.dtsi b/app/boards/shields/jorne/jorne.dtsi index 67ea9d1..c782d52 100644 --- a/app/boards/shields/jorne/jorne.dtsi +++ b/app/boards/shields/jorne/jorne.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The ZMK Contributors + * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT */ diff --git a/app/boards/shields/jorne/jorne_left.overlay b/app/boards/shields/jorne/jorne_left.overlay index ca6ad43..065a23d 100644 --- a/app/boards/shields/jorne/jorne_left.overlay +++ b/app/boards/shields/jorne/jorne_left.overlay @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The ZMK Contributors + * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT */ diff --git a/app/boards/shields/jorne/jorne_right.overlay b/app/boards/shields/jorne/jorne_right.overlay index 6ae232e..5a0be2c 100644 --- a/app/boards/shields/jorne/jorne_right.overlay +++ b/app/boards/shields/jorne/jorne_right.overlay @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The ZMK Contributors + * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT */ |