提交 b71947fd 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

add win32 version; use tar.gz format for linux version

上级 b6e388ff
......@@ -15,6 +15,7 @@ $>ztf.exe run -task 1 执行禅道系统中编号
$>ztf.exe ci product01\tc-1.py 将脚本里修改的用例信息,同步到禅道系统。
$>ztf.exe cr log\001 提交测试结果到禅道系统。
$>ztf.exe cr -r log\001 提交测试结果到禅道系统,不需要逐个确认。
$>ztf.exe cb log\001 提交测试结果中失败用例为缺陷。
$>ztf.exe list demo\lang\bat 列出目录bat下的所有脚本文件,支持多个目录和文件参数项。
......
此差异已折叠。
......@@ -6,21 +6,28 @@ cp -r demo ztf/
go-bindata -o=res/res.go -pkg=res res/ res/doc res/json res/template
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ztf/ztf.exe src/ztf.go
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o ztf/ztf.exe src/ztf-386.go
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o ztf/ztf-x86.exe src/ztf.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ztf/ztf-amd64.exe src/ztf.go
GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ztf/ztf-linux src/ztf.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ztf/ztf-mac src/ztf.go
cd ztf
zip -r ztf-win-2.0.zip ztf.exe demo conf log
cp ztf-x86.exe ztf.exe
zip -r ztf-win-x86-2.1.zip ztf.exe demo conf log
rm ztf.exe
cp ztf-amd64.exe ztf.exe
zip -r ztf-win-amd64-2.1.zip ztf.exe demo conf log
rm ztf.exe
cp ztf-linux ztf
zip -r ztf-linux-2.0.zip ztf demo conf log
tar -zcvf ztf-linux-2.1.tar.gz ztf demo conf log
rm ztf
cp ztf-mac ztf
zip -r ztf-mac-2.0.zip ztf demo conf log
zip -r ztf-mac-2.1.zip ztf demo conf log
rm ztf
cd ..
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册