Skip to content

Commit b893ab0

Browse files
committed
Reorganized CCL project structure
1 parent 8c61d06 commit b893ab0

32 files changed

Lines changed: 6404 additions & 106 deletions

BUILDING.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Buildind 编译项目
2+
==============================
3+
4+
When building the comment core library, you can build two different types,
5+
the minified or non minified.
6+
7+
编译模块的时候,可以选择编译成两种不同的单文件。压缩版,和非压缩版。
8+
9+
The default is to build a minified version (我们默认会编译成压缩版,通过如下命令):
10+
11+
make
12+
13+
or
14+
15+
make all-uglify
16+
17+
Minifying the JavaScript requires you to have Node.js installed. 压缩输出文件要求你
18+
有安装了Node.js。
19+
20+
If you want a non-minified single file version, use (下面的命令则会输出一个未经压缩的
21+
只有堆砌起来的文件):
22+
23+
make all-concat-only
24+
25+
Separate Components 分模块编译
26+
-----------------------------
27+
To build each module separately, run `make all`. It will produce 2 parts, parsers
28+
and the CommentCoreLibrary. 如果希望弹幕编译每个模块,运行上方命令,会产出两个部件,一个是CCL
29+
弹幕库,另一个是解析库。
30+
31+
You can also run `make extensions` to build all the experimental extensions. They
32+
will not be minimized. 你还可以编译正在实验中的一些扩展模块,这些模块不会被压缩以方便调试。

Building.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)