mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 15:33:29 +02:00
fix: minor wording adjustments and typo fixes
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
d7084c78fb
commit
f5a5040c8e
51
.github/workflows/linting.yml
vendored
51
.github/workflows/linting.yml
vendored
@ -71,54 +71,3 @@ jobs:
|
|||||||
run: rm -rf public/*
|
run: rm -rf public/*
|
||||||
- name: Check for reuse compliance
|
- name: Check for reuse compliance
|
||||||
uses: fsfe/reuse-action@v5
|
uses: fsfe/reuse-action@v5
|
||||||
id: reuse
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Evaluate for Errors
|
|
||||||
env:
|
|
||||||
BIOME_LINT_OUTCOME: ${{ steps.biome_lint.outcome }}
|
|
||||||
DEPCRUISE_OUTCOME: ${{ steps.depcruise.outcome }}
|
|
||||||
TYPECHECK_OUTCOME: ${{ steps.typecheck.outcome }}
|
|
||||||
TYPECHECK_SCRIPTS_OUTCOME: ${{ steps.typecheck-scripts.outcome }}
|
|
||||||
REUSE_LINT_OUTCOME: ${{ steps.reuse.outcome }}
|
|
||||||
run: |
|
|
||||||
# Check for Errors
|
|
||||||
|
|
||||||
# Make text red.
|
|
||||||
red () {
|
|
||||||
printf "\e[31m%s\e[0m" "$1"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Make text green.
|
|
||||||
green () {
|
|
||||||
printf "\e[32m%s\e[0m" "$1"
|
|
||||||
}
|
|
||||||
|
|
||||||
print_result() {
|
|
||||||
local name=$1
|
|
||||||
local outcome=$2
|
|
||||||
if [ "$outcome" == "success" ]; then
|
|
||||||
printf "$(green "✅ $name: $outcome")\n"
|
|
||||||
else
|
|
||||||
printf "$(red "❌ $name: $outcome")\n"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
print_result "Biome" "$BIOME_LINT_OUTCOME"
|
|
||||||
print_result "Depcruise" "$DEPCRUISE_OUTCOME"
|
|
||||||
print_result "Typecheck" "$TYPECHECK_OUTCOME"
|
|
||||||
print_result "Typecheck scripts" "$TYPECHECK_SCRIPTS_OUTCOME"
|
|
||||||
print_result "Reuse Compliance" "$REUSE_LINT_OUTCOME"
|
|
||||||
|
|
||||||
if [[ "$BIOME_LINT_OUTCOME" != "success" || \
|
|
||||||
"$DEPCRUISE_OUTCOME" != "success" || \
|
|
||||||
"$TYPECHECK_OUTCOME" != "success" || \
|
|
||||||
"$TYPECHECK_SCRIPTS_OUTCOME" != "success" || \
|
|
||||||
"$REUSE_LINT_OUTCOME" != "success" ]]; then
|
|
||||||
printf "$(red "❌ One or more checks failed!")\n" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
printf "$(green "✅ All checks passed!")\n"
|
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ Using the [REUSE helper tool](https://github.com/fsfe/reuse-tool), you can run `
|
|||||||
|
|
||||||
- All source code belonging to the project, unless otherwise noted, is licensed under [AGPL-v3.0-only](LICENSES/AGPL-3.0-only.txt)
|
- All source code belonging to the project, unless otherwise noted, is licensed under [AGPL-v3.0-only](LICENSES/AGPL-3.0-only.txt)
|
||||||
- All documentation (any markdown files), including this readme, as well as any documentation comments explicitly documenting source code, are also licensed under [CC-BY-NC-SA-4.0](LICENSES/CC-BY-NC-SA-4.0.txt)
|
- All documentation (any markdown files), including this readme, as well as any documentation comments explicitly documenting source code, are also licensed under [CC-BY-NC-SA-4.0](LICENSES/CC-BY-NC-SA-4.0.txt)
|
||||||
- Auto-generated files produced by external tools or files of insigifnicand originality are not copyrighted and are licensed under [CC0-1.0](LICENSES/CC0-1.0.txt)
|
- Auto-generated files produced by external tools or files of insigifnicant originality are not copyrighted and are licensed under [CC0-1.0](LICENSES/CC0-1.0.txt)
|
||||||
- To the extent that the assets we provide are [licensable and applicable](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en#ref-exception-or-limitation), they are licensed under [CC-BY-NC-SA-4.0](LICENSES/CC-BY-NC-SA-4.0.txt) unless otherwise noted. Exceptions can be found in associated REUSE.toml files. ⚠️ Files in `public/` that are not explicitly licensed, as per the REUSE.toml, should be considered to have _no_ licensing / copyright information.
|
- To the extent that the assets we provide are [licensable and applicable](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en#ref-exception-or-limitation), they are licensed under [CC-BY-NC-SA-4.0](LICENSES/CC-BY-NC-SA-4.0.txt) unless otherwise noted. Exceptions can be found in associated REUSE.toml files. ⚠️ Files in `public/` that are not explicitly licensed, as per the REUSE.toml, should be considered to have _no_ licensing / copyright information.
|
||||||
|
|
||||||
The full license information for each file can be found by utilizing REUSE's tooling, such as via `reuse spdx`.
|
The full license information for each file can be found by utilizing REUSE's tooling, such as via `reuse spdx`.
|
Loading…
Reference in New Issue
Block a user