mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Build: Account for Format/Style in Sample Lint Failure Message (#292)
This commit is contained in:
parent
2f76673546
commit
4659bb0342
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -194,7 +194,7 @@ jobs:
|
||||
/<\/data>$/ {inside=0; print "</data>"; next}
|
||||
inside {gsub ("\t", "", $0); printf $0; next}
|
||||
{print}' "${File}" > "${File}.tmp" && mv "${File}.tmp" "${File}"
|
||||
if [ "$(git diff $File)" != '' ]; then echo "$File keys are not in alphabetical order"; exit 1 ; fi
|
||||
if [ "$(git diff ${File})" != '' ]; then echo "Not in Xcode style or not in alphabetical order!!"; exit 1 ; fi
|
||||
|
||||
File='Docs/SampleCustom.plist'
|
||||
plutil -lint "${File}" || exit 1
|
||||
@ -203,7 +203,7 @@ jobs:
|
||||
/<\/data>$/ {inside=0; print "</data>"; next}
|
||||
inside {gsub ("\t", "", $0); printf $0; next}
|
||||
{print}' "${File}" > "${File}.tmp" && mv "${File}.tmp" "${File}"
|
||||
if [ "$(git diff $File)" != '' ]; then echo "$File keys are not in alphabetical order"; exit 1 ; fi
|
||||
if [ "$(git diff ${File})" != '' ]; then echo "Not in Xcode style or not in alphabetical order!!"; exit 1 ; fi
|
||||
|
||||
analyze-coverity:
|
||||
name: Analyze Coverity
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user