mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-18 03:25:07 +00:00
shellcheck (#23)
* shellcheck * fix(script): shellcheck and refactor * fix(scripts): rename snake_casing no .sh Follows Google's Shell Style Guide: https://google.github.io/styleguide/shellguide.html Script names must use snake_casing Remove the `.sh` extension on `chmod +x` scripts because the shell interpreter choice is in the shebang. The `.sh` extension is to be maintained for sourced scripts because those are not stand-alone executables: ```sh . sourced_script.sh # . sourcing source sourced_script.sh # alternate syntax ``` * decomp * Stay CI Co-authored-by: Léa Gris <[email protected]> Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
6 files changed
+66
-46
No files matched your search
@@ -41,5 +41,5 @@ jobs:
|
||||
|
||||
- name: Test no errors reported during server run
|
||||
run: |
|
||||
chmod +x .github/scripts/test-no-error-reports.sh
|
||||
.github/scripts/test-no-error-reports.sh
|
||||
chmod +x .github/scripts/test_no_error_reports
|
||||
.github/scripts/test_no_error_reports
|
||||
@@ -21,4 +21,4 @@ jobs:
|
||||
git config user.email "<>"
|
||||
|
||||
- name: Ensure build script version is up to date
|
||||
run: .github/scripts/update-version.sh
|
||||
run: .github/scripts/update_version
|
||||
Reference in new issue
Block a user