diff --git a/bin/build_devel.sh b/bin/build_devel.sh index 7a9ab32..6cb58f7 100755 --- a/bin/build_devel.sh +++ b/bin/build_devel.sh @@ -4,6 +4,9 @@ BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" APPDIR=$(readlink -f "$BINDIR/..") +# update the vendored dependencies +go mod vendor && go mod tidy + # compile the executable cd "$APPDIR/cmd/cheat" go clean && go generate && go build -mod vendor diff --git a/bin/build_release.sh b/bin/build_release.sh index f4b2208..21d899e 100755 --- a/bin/build_release.sh +++ b/bin/build_release.sh @@ -4,6 +4,9 @@ BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" APPDIR=$(readlink -f "$BINDIR/..") +# update the vendored dependencies +go mod vendor && go mod tidy + # build embeds cd "$APPDIR/cmd/cheat" go clean && go generate