sing-box/.github/update_dependencies.sh

6 lines
135 B
Bash
Raw Normal View History

2022-06-30 13:27:56 +00:00
#!/usr/bin/env bash
PROJECTS=$(dirname "$0")/../..
go get -x github.com/sagernet/$1@$(git -C $PROJECTS/$1 rev-parse HEAD)
2022-06-30 13:27:56 +00:00
go mod tidy