[license] include .ps1, improve commit message and shebang first
All checks were successful
eden-license / license-header (pull_request) Successful in 54s
All checks were successful
eden-license / license-header (pull_request) Successful in 54s
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
This commit is contained in:
parent
0a301a1f97
commit
3f90405749
4 changed files with 11 additions and 8 deletions
|
@ -79,7 +79,7 @@ for file in $FILES; do
|
|||
EXT="${file##*.}"
|
||||
case "$EXT" in
|
||||
kts|kt|cpp|h) COMMENT_TYPE="//" ;;
|
||||
cmake|sh) COMMENT_TYPE="#" ;;
|
||||
cmake|sh|ps1) COMMENT_TYPE="#" ;;
|
||||
*) continue ;;
|
||||
esac ;;
|
||||
esac
|
||||
|
@ -151,7 +151,7 @@ if [ "$FIX" = "true" ]; then
|
|||
EXT="${file##*.}"
|
||||
case "$EXT" in
|
||||
kts|kt|cpp|h) COMMENT_TYPE="//" ;;
|
||||
cmake|sh) COMMENT_TYPE="#" ;;
|
||||
cmake|sh|ps1) COMMENT_TYPE="#" ;;
|
||||
*) continue ;;
|
||||
esac
|
||||
;;
|
||||
|
@ -197,7 +197,7 @@ if [ "$FIX" = "true" ]; then
|
|||
echo
|
||||
echo "license-header.sh: COMMIT set to true, committing changes..."
|
||||
|
||||
git commit -m "[license] Fix license headers"
|
||||
git commit -m "[license] Fix license headers [script]"
|
||||
|
||||
echo
|
||||
echo "license-header.sh: Changes committed. You may now push."
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
SUM=$(wget -q https://github.com/"$1"/archive/"$2".zip -O - | sha512sum)
|
||||
echo "$SUM" | cut -d " " -f1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
SUM=$(wget -q "$1" -O - | sha512sum)
|
||||
echo "$SUM" | cut -d " " -f1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue