mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-22 13:34:18 +02:00
Apply shellcheck
This commit is contained in:
parent
358f759166
commit
8fbcba1c38
11 changed files with 61 additions and 35 deletions
16
test/shellcheck
Normal file
16
test/shellcheck
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
# Copyright 2023, project-repo and the cagebreak contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
RESULT=0
|
||||
|
||||
set -x
|
||||
# shellcheck disable=2164
|
||||
cd "${MESONCURRENTCONFIGDIR}/test"
|
||||
# shellcheck disable=2046
|
||||
shellcheck --source-path=../example_scripts/ $(ls -Itesting-configurations) || RESULT=1
|
||||
|
||||
cd "${MESONCURRENTCONFIGDIR}/example_scripts/" || RESULT=1
|
||||
shellcheck ./*
|
||||
|
||||
exit "${RESULT}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue