1 Star 0 Fork 8

suyanhui/nacos-prometheus-discovery

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 853 Bytes
一键复制 编辑 原始数据 按行查看 历史
xmx0632 提交于 2020-07-02 10:25 . update doc
#!/bin/sh
echo "exec ${BASH_SOURCE[0]}"
export BASE_DIR=`cd $(dirname $0); pwd`
echo $BASE_DIR
TARGET_DIR=target
rm -rf $TARGET_DIR
mkdir -p $TARGET_DIR/bin
cp -rf conf $TARGET_DIR/bin
cd $TARGET_DIR/bin
go get github.com/karalabe/xgo
xgo --targets=darwin/amd64,linux/amd64,windows/amd64,windows/386 gitee.com/xmx0632/nacos-prometheus-discovery
# build all platform
# xgo gitee.com/xmx0632/nacos-prometheus-discovery
#The supported targets are:
#
#Platforms: android, darwin, ios, linux, windows
#Achitectures: 386, amd64, arm-5, arm-6, arm-7, arm64, mips, mipsle, mips64, mips64le
#xgo -go 1.6.1 gitee.com/xmx0632/nacos-prometheus-discovery
#xgo -out iris-v0.3.2 gitee.com/xmx0632/nacos-prometheus-discovery
#xgo --branch release-branch.go1.4 golang.org/x/tools/cmd/goimports
#xgo --pkg cmd/goimports golang.org/x/tools
# return
cd $BASE_DIR
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/suyanhui/nacos-prometheus-discovery.git
git@gitee.com:suyanhui/nacos-prometheus-discovery.git
suyanhui
nacos-prometheus-discovery
nacos-prometheus-discovery
master

搜索帮助