35 Star 388 Fork 70

GVPrancher / rancher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
make.bat 728 Bytes
一键复制 编辑 原始数据 按行查看 历史
Frank Mai 提交于 2019-03-25 17:59 . Windows support 1809
@echo off
if "%1%"=="trash" (
call :trash
goto :eof
)
if "%1%"=="trash-keep" (
call :trash-keep
goto :eof
)
if "%1%"=="deps" (
call :deps
goto :eof
)
if "%1%"=="" (
set cmd=ci
) else (
set cmd=%1%
)
call :.dapper
.dapper.exe -f Dockerfile-windows.dapper %cmd%
goto :eof
:.dapper
if not exist .dapper.exe (
bitsadmin /rawreturn /transfer dappwer-download https://releases.rancher.com/dapper/latest/dapper-Windows-x86_64.exe %~dp0\.dapper.exe
.dapper.exe -v
)
goto :eof
:trash
call :.dapper
.dapper.exe -f Dockerfile-windows.dapper -m bind trash.exe
goto :eof
:trash-keep
call :.dapper
.dapper.exe -f Dockerfile-windows.dapper -m bind trash.exe -k
goto :eof
:deps
call :trash
goto :eof
Go
1
https://gitee.com/rancher/rancher.git
git@gitee.com:rancher/rancher.git
rancher
rancher
rancher
master

搜索帮助