3 个版本
使用旧的 Rust 2015
| 0.0.3 | 2015年1月25日 |
|---|---|
| 0.0.2 | 2015年1月15日 |
| 0.0.1 | 2015年1月14日 |
7 in #buildable
23KB
498 代码行数(不包括注释)
node-rub
node Rust Builder
状态
lib.rs:
Node 的 Rust Builder。
此包旨在与 rub 一起使用。
如果您尚未安装 rub,请访问 https://github.com/rust-builder/rub 获取安装说明。
Rub 选项
$ rub node --help
node - Rust Builder
Usage:
rub node [options] [<lifecycle>...]
rub node (-h | --help)
rub node --version
Options:
-d --dir <dir> Set the projects directory.
-b --branch <branch> Set the build branch. [default: master]
-t --enable-test Enable tests.
-p --prefix <prefix> Set the installation prefix.
-u --url <url> Set the SCM URL.
-h --help Show this usage.
--force-configure Force the configure lifecycle to run.
--disable-cares Disable c-ares as a shared library (v0.9 & v0.10 only).
--disable-shared-v8 Disable shared v8.
--disable-optimize Disable compile-time optimization.
--version Show node-rub version.
示例
use buildable::Buildable;
use node_rub::NodeRub;
// To run lifecycle methods outside of rub...
let mut cr = NodeRub::new();
let b = Buildable::new(&mut cr, &vec!["rub".to_string(),
"node".to_string(),
"--version".to_string()]);
assert_eq!(Ok(0), b.version());
依赖
~3.5–5.5MB
~102K 额外代码行数(估计)