mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
REPO: added lint manifest POC [skip ci]
This commit is contained in:
parent
73e22267ec
commit
1e84103059
|
@ -11,5 +11,15 @@ if git diff --cached --name-only | grep -q 'config/retrodeck/reference_lists/fea
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Lint Manifest
|
||||||
|
# if git diff --cached --name-only | grep -q 'net.retrodeck.retrodeck.yml'; then
|
||||||
|
# # Run the linting script
|
||||||
|
# echo "Linting net.retrodeck.retrodeck.yml..."
|
||||||
|
# if ! bash developer_toolbox/lint_manifest.sh; then
|
||||||
|
# echo "Linting failed. Please fix the issues and try again."
|
||||||
|
# exit 1 # Exit with a non-zero status to block the commit
|
||||||
|
# fi
|
||||||
|
# fi
|
||||||
|
|
||||||
# Continue with the commit if all checks passed
|
# Continue with the commit if all checks passed
|
||||||
exit 0
|
exit 0
|
||||||
|
|
3
developer_toolbox/lint_manifest.sh
Executable file
3
developer_toolbox/lint_manifest.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
yamllint net.retrodeck.retrodeck.yml
|
Loading…
Reference in a new issue