Skip to content

Commit

Permalink
finish TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Sep 24, 2018
1 parent 08459ca commit 68c4fe1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,23 +384,3 @@ Usage: sync-switch -u host_name [-d] <host_ip> [-p] <host_port>
## 问题
有问题欢迎[提交issue](https://github.com/ShixiangWang/sync-deploy/issues)进行讨论。
## 下一步
我发现自己有时候想连接几个不同的服务器,而目前只支持连接一个,不然每次都要更改sync-setting目录,接下来想实现这个功能。
检测OS代码:
```
#!/usr/bin/env bash
if [ "$(uname)" == "Darwin" ]; then
# Do something under Mac OS X platform
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# Do something under GNU/Linux platform
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
# Do something under 32 bits Windows NT platform
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
# Do something under 64 bits Windows NT platform
fi
```

0 comments on commit 68c4fe1

Please sign in to comment.