mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-12-05 06:34:30 +09:00
Squashed commit of the following: commit aace74ffe7a6609f884f6ba3353916978c90a9db Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Feb 9 16:51:49 2026 +0300 all: reformat json commit 43fd2970cba738701d84885f78ef812c9abd182b Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Feb 9 15:33:27 2026 +0300 scripts: upd commit e5c8d1fe6021021d1c9079e7caa376fb83bf0136 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Feb 9 14:06:12 2026 +0300 client: upd i18n commit 3d115bb49a5d97096ef98c3e1bd726109421e7f1 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Feb 9 14:01:08 2026 +0300 all: upd go & tools
39 lines
815 B
Bash
39 lines
815 B
Bash
#!/bin/sh
|
|
|
|
# This comment is used to simplify checking local copies of the script. Bump
|
|
# this number every time a significant change is made to this script.
|
|
#
|
|
# AdGuard-Project-Version: 4
|
|
|
|
verbose="${VERBOSE:-0}"
|
|
readonly verbose
|
|
|
|
# Don't use -f, because we use globs in this script.
|
|
set -e -u
|
|
|
|
if [ "$verbose" -gt '0' ]; then
|
|
set -x
|
|
fi
|
|
|
|
# Source the common helpers, including not_found and run_linter.
|
|
. ./scripts/make/helper.sh
|
|
|
|
go="${GO:-go}"
|
|
readonly go
|
|
|
|
run_linter -e "$go" tool shfmt --binary-next-line -d -p -s \
|
|
./scripts/hooks/* \
|
|
./scripts/install.sh \
|
|
./scripts/make/*.sh \
|
|
./scripts/snap/*.sh \
|
|
./snap/local/*.sh \
|
|
;
|
|
|
|
shellcheck -e 'SC2250' -e 'SC2310' -f 'gcc' -o 'all' -x -- \
|
|
./scripts/hooks/* \
|
|
./scripts/install.sh \
|
|
./scripts/make/*.sh \
|
|
./scripts/snap/*.sh \
|
|
./snap/local/*.sh \
|
|
;
|