1 Star 0 Fork 29

王方 / SmartPing

forked from 光宇开源 / SmartPing 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
control.cmd 270 Bytes
一键复制 编辑 原始数据 按行查看 历史
ToryZen 提交于 2017-09-16 17:25 . go get add -v
@ECHO OFF
IF "%1%"=="" GOTO FAIL
IF "%1%"=="run" GOTO RUN
IF "%1%"=="build" GOTO BUILD
GOTO FAIL
:BUILD
go get -v ./...
go build -o %~dp0/bin/smartping.exe %~dp0/src/smartping.go
GOTO EXIT
:RUN
cd %~dp0
%~dp0/bin/smartping.exe
GOTO EXIT
:FAIL
echo "build|run"
:EXIT
Go
1
https://gitee.com/xinqing623/smartping.git
git@gitee.com:xinqing623/smartping.git
xinqing623
smartping
SmartPing
master

搜索帮助