mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-25 16:18:16 +03:00
184f476bdc
Squashed commit of the following:
commit 00fc45877776ed7d1c59be26330f6f16d784ead2
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Tue Aug 20 16:21:25 2024 +0300
all: imp lint
commit b04d9cd334a92faf21787e7e1ebf20d5e5fd0bee
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Tue Aug 20 14:40:18 2024 +0300
all: upd all
commit f151f8c313
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Fri Aug 16 13:12:36 2024 +0300
all: upd proxy
34 lines
503 B
Bash
34 lines
503 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: 2
|
|
|
|
verbose="${VERBOSE:-0}"
|
|
readonly verbose
|
|
|
|
if [ "$verbose" -gt '1' ]
|
|
then
|
|
env
|
|
set -x
|
|
x_flags='-x=1'
|
|
elif [ "$verbose" -gt '0' ]
|
|
then
|
|
set -x
|
|
x_flags='-x=0'
|
|
else
|
|
set +x
|
|
x_flags='-x=0'
|
|
fi
|
|
readonly x_flags
|
|
|
|
set -e -f -u
|
|
|
|
go="${GO:-go}"
|
|
readonly go
|
|
|
|
cd ./internal/tools/
|
|
|
|
"$go" get -u "$x_flags"
|
|
"$go" mod tidy
|