1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-11-29 22:48:19 +02:00

Switch from dep to go mod

Update modules to avoid issues with golangci-lint
This commit is contained in:
Henry Jenkins
2019-07-13 21:24:40 +01:00
parent a83c5eabb6
commit e245ef4854
7 changed files with 629 additions and 505 deletions

6
configure vendored
View File

@@ -13,13 +13,9 @@ for arg in "$@"; do
"--with-go")
desired[go]="${arg##*=}"
;;
"--with-dep")
desired[dep]="${arg##*=}"
;;
"--help")
printf "${GREEN}$0${NC}\n"
printf " available options:\n"
printf " --with-dep=${BLUE}<path_to_dep_binary>${NC}\n"
printf " --with-go=${BLUE}<path_to_go_binary>${NC}\n"
exit 0
;;
@@ -125,7 +121,6 @@ check_for awk
check_for go
check_go_version
check_go_env
check_for dep
check_for golangci-lint
echo
@@ -134,7 +129,6 @@ cat <<- EOF > .env
MAKE := "${tools[make]}"
GO := "${tools[go]}"
GO_VERSION := ${tools[go_version]}
DEP := "${tools[dep]}"
GOLANGCILINT := "${tools[golangci-lint]}"
EOF