mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 07:52:03 +01:00
7a8e299c7c
* migrate gplus to google oauth2 provider. this still provides support for old gplus connections. * Update models/oauth2.go Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * make vendor
18 lines
590 B
Bash
Vendored
18 lines
590 B
Bash
Vendored
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ $GO111MODULE == "on" ]]; then
|
|
go get .
|
|
else
|
|
go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v appengine)
|
|
fi
|
|
|
|
if [[ $GOAPP == "true" ]]; then
|
|
mkdir /tmp/sdk
|
|
curl -o /tmp/sdk.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip"
|
|
unzip -q /tmp/sdk.zip -d /tmp/sdk
|
|
# NOTE: Set the following env vars in the test script:
|
|
# export PATH="$PATH:/tmp/sdk/go_appengine"
|
|
# export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py
|
|
fi
|
|
|