This commit is contained in:
kayos@tcp.direct 2022-11-18 07:22:12 -08:00
parent f2d4cab3df
commit d95568b7ae
Signed by: kayos
GPG Key ID: 4B841471B4BEE979
3 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,8 @@ jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
env:
INPUT_SHELLCHECK_OPTIONS: --format=gcc -x
steps:
- uses: actions/checkout@v3
- name: shellcheck

View File

@ -11,4 +11,5 @@ chmod +x "${_target}/clone-all"
if ! [[ ":$PATH:" == *":$_target:"* ]]; then
echo "Your PATH is missing '$_target', consider adding it."
fi
cd ..
echo "fin."

4
test/test_logger.sh Normal file → Executable file
View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -e
source ../src/1-logr.sh
# shellcheck disable=SC1091
source ./src/1-logr.sh 2&>/dev/null|| source ../src/1-logr.sh
function testLogger() {
log "trying to yeet"