1 Star 0 Fork 16

peitingwei/He3Proxy

forked from He3DB/He3Proxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dev.sh 511 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangyao 提交于 2022-08-30 16:43 . improve: change repo addr
#!/bin/bash
export VTTOP=$(pwd)
export VTROOT="${VTROOT:-${VTTOP/\/src\/gitee.com\/he3db\/he3proxy/}}"
# VTTOP sanity check
if [[ "$VTTOP" == "${VTTOP/\/src\/gitee.com\/he3db\/he3proxy/}" ]]; then
echo "WARNING: VTTOP($VTTOP) does not contain src/gitee.com/he3db/he3proxy"
fi
export GOTOP=$VTTOP
function prepend_path()
{
# $1 path variable
# $2 path to add
if [ -d "$2" ] && [[ ":$1:" != *":$2:"* ]]; then
echo "$2:$1"
else
echo "$1"
fi
}
export GOPATH=$(prepend_path $GOPATH $VTROOT)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peitingwei/he3proxy.git
[email protected]:peitingwei/he3proxy.git
peitingwei
he3proxy
He3Proxy
master

搜索帮助