sing-box/.github/update_dependencies.sh
2022-09-07 19:16:20 +08:00

6 lines
135 B
Bash
Executable file

#!/usr/bin/env bash
PROJECTS=$(dirname "$0")/../..
go get -x github.com/sagernet/$1@$(git -C $PROJECTS/$1 rev-parse HEAD)
go mod tidy