mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-31 00:03:08 +03:00
Also: - merge CI check and shellcheck jobs into a single one. To share the same shellcheck version and less overhead. - use `set -eu` in more scripts. - make sure CI scripts run from any cwd. To make it easy to run them on local machine. - minor tidy-ups. Closes #1618
14 lines
295 B
Bash
Executable File
14 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) Viktor Szakats
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
set -eu
|
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
# shellcheck disable=SC2046
|
|
shellcheck --exclude=1091 \
|
|
--enable=avoid-nullary-conditions,deprecate-which \
|
|
$(grep -l -E '^#!(/usr/bin/env bash|/bin/sh|/bin/bash)' $(git ls-files))
|