#v8 #rub #buildable

v8_rub

Rust Builder for v8

5 releases

Uses old Rust 2015

0.0.5 Jan 25, 2015
0.0.4 Jan 15, 2015
0.0.3 Jan 14, 2015
0.0.2 Jan 14, 2015
0.0.1 Dec 19, 2014

#3 in #buildable

MIT license

21KB
475 lines

v8-rub

v8 Rust Builder

Status

Build Status


lib.rs:

Rust Builder for v8.

This crate is intended for use with rub.

If you don't have rub installed, visit https://github.com/rust-builder/rub for installation instructions.

Rub Options

 $ rub v8 --help
 v8 - Rust Builder

 Usage:
     rub v8 [options] [<lifecycle>...]
     rub v8 (-h | --help)
     rub v8 --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.
     --pump                Enable distcc pump mode.
     --static              Build a statically linked library.
     --disable-i18n        Disable i18n support.
     --version             Show rust-rub version.
 

Examples

use buildable::Buildable;
use v8_rub::V8Rub;

// To run lifecycle methods outside of rub...
let mut vr = V8Rub::new();
let b = Buildable::new(&mut vr, &vec!["rub".to_string(),
                                      "v8".to_string(),
                                      "--version".to_string()]);
assert_eq!(Ok(0), b.version());

Dependencies

~3.5–5.5MB
~101K SLoC