mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 06:25:44 +03:00
6f7fd33afd
Merge in DNS/adguard-home from imp-sh to master Squashed commit of the following: commit 477832e11eca2ef7ac0071b5da938dacb2ed617d Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed May 19 20:24:34 2021 +0300 scripts: rm dbg commit dbb4b8c783f607781b980dcd57d78085c9022e72 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed May 19 20:21:20 2021 +0300 all: imp code, compat, docs commit e6e4375d67ad1c213efb04411e3ba0bc6293f936 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed May 19 19:33:48 2021 +0300 all: imp scripts
33 lines
474 B
Bash
33 lines
474 B
Bash
#!/bin/sh
|
|
|
|
verbose="${VERBOSE:-0}"
|
|
|
|
if [ "$verbose" -gt '0' ]
|
|
then
|
|
set -x
|
|
fi
|
|
|
|
set -e -f -u
|
|
|
|
dist_dir="$DIST_DIR"
|
|
go="${GO:-go}"
|
|
|
|
# Set the GOPATH explicitly in case make clean is called from under sudo after
|
|
# a Docker build.
|
|
env PATH="$( "$go" env GOPATH )/bin":"$PATH" packr clean
|
|
|
|
rm -f\
|
|
./AdGuardHome\
|
|
./AdGuardHome.exe\
|
|
./coverage.txt\
|
|
;
|
|
|
|
rm -f -r\
|
|
./bin/\
|
|
./build/\
|
|
./build2/\
|
|
./client/node_modules/\
|
|
./client2/node_modules/\
|
|
./data/\
|
|
"./${dist_dir}/"\
|
|
;
|