1 Star 0 Fork 0

FabEdge / plugins

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_windows.sh 332 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
export GO="${GO:-go}"
export GOOS=windows
export GOFLAGS="${GOFLAGS} -mod=vendor"
echo "$GOFLAGS"
PLUGINS=$(cat plugins/windows_only.txt | dos2unix )
for d in $PLUGINS; do
plugin="$(basename "$d").exe"
echo "building $plugin"
$GO build -o "${PWD}/bin/$plugin" "$@" ./"${d}"
done
1
https://gitee.com/fabedge/plugins.git
git@gitee.com:fabedge/plugins.git
fabedge
plugins
plugins
master

搜索帮助