mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-21 19:11:02 +00:00
ci: add check for symlinks
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1169>
This commit is contained in:
parent
7c30430320
commit
0b5cf4e5fd
2 changed files with 13 additions and 0 deletions
|
@ -417,6 +417,7 @@ check commits:
|
|||
- when: 'always'
|
||||
script:
|
||||
- ci-fairy check-commits --textwidth 0 --no-signed-off-by
|
||||
- ci/check-for-symlinks.sh
|
||||
|
||||
clippy:
|
||||
extends: .img-stable
|
||||
|
|
12
ci/check-for-symlinks.sh
Executable file
12
ci/check-for-symlinks.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
LINKS=`find -type l`
|
||||
if test -z $LINKS; then
|
||||
echo "No symlinks found."
|
||||
else
|
||||
echo "===> FOUND SYMLINKS!"
|
||||
echo
|
||||
echo "$LINKS"
|
||||
echo
|
||||
echo "Please replace these with actual files."
|
||||
exit 1;
|
||||
fi
|
Loading…
Reference in a new issue