1 Star 0 Fork 36

cfeng2017 / remote-tail

forked from mylxsw / remote-tail 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 572 Bytes
一键复制 编辑 原始数据 按行查看 历史
管宜尧 提交于 2016-12-01 15:00 . update
run:
go run *.go -conf=example.toml
mac:
go build -o bin/remote-tail-mac main.go
linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/remote-tail-linux main.go
windows:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o bin/remote-tail-win.exe main.go
deploy:
scp ./bin/remote-tail-linux root@192.168.1.100:/usr/bin/remote-tail
scp ./bin/remote-tail-linux root@192.168.1.237:/usr/bin/remote-tail
deploy-local:
cp ./bin/remote-tail-mac /usr/local/bin/remote-tail
clean:
rm -fr ./bin/remote-tail-linux ./bin/remote-tail-mac ./bin/remote-tail-win.exe
Go
1
https://gitee.com/cfeng2017/remote-tail.git
git@gitee.com:cfeng2017/remote-tail.git
cfeng2017
remote-tail
remote-tail
master

搜索帮助