From c4b7197335b3da429e5923b194b2385a98db19fa Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 13 May 2017 22:17:58 +0800 Subject: modify install script url --- README.md | 20 ++++++++++++++++++++ README_zh.md | 20 ++++++++++++++++++++ docs/README.md | 2 +- docs/cn/index.html | 4 ++-- docs/landing.html | 4 ++-- docs/landing/index.cn.md | 4 ++-- docs/landing/index.md | 4 ++-- docs/zh/README.md | 4 ++-- 8 files changed, 51 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2b9762bcb..9c78f849b 100755 --- a/README.md +++ b/README.md @@ -15,6 +15,26 @@ If you want to known more, please refer to: * [Github](https://github.com/tboox/xmake) * [HomePage](http://www.xmake.io) +## Installation + +##### via curl + +```bash +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) +``` + +##### via wget + +```bash +$ bash <(wget https://github.com/tboox/xmake/raw/master/scripts/get.sh -O -) +``` + +##### via powershell + +```bash +$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +``` + ## Simple description ```lua diff --git a/README_zh.md b/README_zh.md index 10466a7bb..58132fca9 100755 --- a/README_zh.md +++ b/README_zh.md @@ -21,6 +21,26 @@ xmake的目标是开发者更加关注于项目本身开发,简化项目的描 * [在线源码](https://github.com/tboox/xmake) * [项目主页](http://www.xmake.io/cn) +## 安装 + +#### 使用curl + +```bash +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) +``` + +#### 使用wget + +```bash +$ bash <(wget https://github.com/tboox/xmake/raw/master/scripts/get.sh -O -) +``` + +#### 使用powershell + +```bash +$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content +``` + ## 简单的工程描述 ```lua diff --git a/docs/README.md b/docs/README.md index 70ce5b868..42ebd097a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -20,7 +20,7 @@ so that any developer can quickly pick it up and enjoy the productivity boost wh ##### via curl ```bash -$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) ``` ##### via wget diff --git a/docs/cn/index.html b/docs/cn/index.html index 9d2af3559..da2e693a5 100644 --- a/docs/cn/index.html +++ b/docs/cn/index.html @@ -53,7 +53,7 @@

使用curl

-
$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh)
+
$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh)
 
@@ -65,7 +65,7 @@

使用powershell

-
$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
+
$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content
 
diff --git a/docs/landing.html b/docs/landing.html index fea69a092..2d3ecc8c5 100644 --- a/docs/landing.html +++ b/docs/landing.html @@ -53,7 +53,7 @@

via curl

-
$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh)
+
$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh)
 
@@ -65,7 +65,7 @@

via powershell

-
$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
+
$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content
 
diff --git a/docs/landing/index.cn.md b/docs/landing/index.cn.md index bd0ed23c4..1a477202f 100755 --- a/docs/landing/index.cn.md +++ b/docs/landing/index.cn.md @@ -8,7 +8,7 @@ title: {{ site.name }} #### 使用curl ```bash -$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) ``` #### 使用wget @@ -20,7 +20,7 @@ $ bash <(wget https://github.com/tboox/xmake/raw/master/scripts/get.sh -O -) #### 使用powershell ```bash -$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content ``` ## 简单的工程描述 diff --git a/docs/landing/index.md b/docs/landing/index.md index 1005a1ef9..65b6331a2 100755 --- a/docs/landing/index.md +++ b/docs/landing/index.md @@ -8,7 +8,7 @@ title: {{ site.name }} #### via curl ```bash -$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) ``` #### via wget @@ -20,7 +20,7 @@ $ bash <(wget https://github.com/tboox/xmake/raw/master/scripts/get.sh -O -) #### via powershell ```bash -$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content ``` ## Simple description diff --git a/docs/zh/README.md b/docs/zh/README.md index c0dfbe948..05e6ba7de 100755 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -27,7 +27,7 @@ xmake的目标是开发者更加关注于项目本身开发,简化项目的描 ##### 使用curl ```bash -$ bash <(curl -fsSL https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +$ bash <(curl -fsSL https://github.com/tboox/xmake/raw/master/scripts/get.sh) ``` ##### 使用wget @@ -39,7 +39,7 @@ $ bash <(wget https://github.com/tboox/xmake/raw/master/scripts/get.sh -O -) ##### 使用powershell ```bash -$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +$ Invoke-Expression (Invoke-Webrequest 'https://github.com/tboox/xmake/raw/master/scripts/get.ps1' -UseBasicParsing).Content ``` #### Windows -- cgit v1.3.1