Skip to content

Commit bd371fb

Browse files
author
剪巽
committed
update makefile, readme
1 parent 031c19f commit bd371fb

15 files changed

+55
-15
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
install:
2+
@npm install .
3+
14
release:
5+
@rm -rf ./book
26
@gitbook build
37
@git add -A
48
@git st
59

6-
PHONY: release
10+
11+
PHONY: release install

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
11
# CUBE 模块化编写你的代码
22

3+
### 初始化环境
4+
5+
```
6+
make install
7+
```
8+
9+
安装全局依赖
10+
```
11+
npm install -g [email protected]
12+
```
13+
14+
### 发布书
15+
16+
编译书:
17+
```
18+
make release
19+
```
20+
21+
然后提交代码,推送github,即可完成更新!
22+
23+
24+

book/Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
install:
2+
@npm install .
3+
14
release:
5+
@rm -rf ./book
26
@gitbook build
37
@git add -A
48
@git st
59

6-
PHONY: release
10+
11+
PHONY: release install

book/api_reference/cli_api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
data-chapter-title="cli api"
5252
data-filepath="api_reference/cli_api.md"
5353
data-basepath=".."
54-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
54+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5555
data-innerlanguage="">
5656

5757

book/api_reference/client_side_api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="client side api"
5454
data-filepath="api_reference/client_side_api.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/api_reference/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="API Reference"
5454
data-filepath="api_reference/README.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/api_reference/module_api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="module api"
5454
data-filepath="api_reference/module_api.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/api_reference/server_side_api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="server side api"
5454
data-filepath="api_reference/server_side_api.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/env.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="Getting Start"
5454
data-filepath="env.md"
5555
data-basepath="."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/features/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="Features"
5454
data-filepath="features/README.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/index.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
88
<title>Introduction | CUBE 模块化编写你的代码</title>
99
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
10-
<meta name="description" content="">
10+
<meta name="description" content="安装全局依赖">
1111
<meta name="generator" content="GitBook 2.6.6">
1212

1313

@@ -51,7 +51,7 @@
5151
data-chapter-title="Introduction"
5252
data-filepath="README.md"
5353
data-basepath="."
54-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
54+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5555
data-innerlanguage="">
5656

5757

@@ -311,6 +311,14 @@ <h1>
311311
<section class="normal" id="section-">
312312

313313
<h1 id="cube-&#x6A21;&#x5757;&#x5316;&#x7F16;&#x5199;&#x4F60;&#x7684;&#x4EE3;&#x7801;">CUBE &#x6A21;&#x5757;&#x5316;&#x7F16;&#x5199;&#x4F60;&#x7684;&#x4EE3;&#x7801;</h1>
314+
<h3 id="&#x521D;&#x59CB;&#x5316;&#x73AF;&#x5883;">&#x521D;&#x59CB;&#x5316;&#x73AF;&#x5883;</h3>
315+
<pre><code>make install
316+
</code></pre><p>&#x5B89;&#x88C5;&#x5168;&#x5C40;&#x4F9D;&#x8D56;</p>
317+
<pre><code>npm install -g [email protected]
318+
</code></pre><h3 id="&#x53D1;&#x5E03;&#x4E66;">&#x53D1;&#x5E03;&#x4E66;</h3>
319+
<p>&#x7F16;&#x8BD1;&#x4E66;&#xFF1A;</p>
320+
<pre><code>make release
321+
</code></pre><p>&#x7136;&#x540E;&#x63D0;&#x4EA4;&#x4EE3;&#x7801;&#xFF0C;&#x63A8;&#x9001;github&#xFF0C;&#x5373;&#x53EF;&#x5B8C;&#x6210;&#x66F4;&#x65B0;&#xFF01;</p>
314322

315323

316324
</section>

book/powerful_processors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="Advanced Usage"
5454
data-filepath="powerful_processors.md"
5555
data-basepath="."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/processors/custom_your_own_processor.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="custom your own processor"
5454
data-filepath="processors/custom_your_own_processor.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/processors/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
data-chapter-title="Processors"
5454
data-filepath="processors/README.md"
5555
data-basepath=".."
56-
data-revision="Wed Mar 02 2016 12:21:32 GMT+0800 (CST)"
56+
data-revision="Wed Mar 30 2016 20:20:42 GMT+0800 (CST)"
5757
data-innerlanguage="">
5858

5959

book/search_index.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)