aboutsummaryrefslogtreecommitdiffstats
path: root/pkg.rs
blob: 249ad47b4e7ead3e568edc1f926b29746cd97a1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[pkg(id = "net.tozt.rust-term", vers = "0.0.1")];

extern mod rustpkg;
use core::run::run_program;

// XXX this doesn't work at all, need to figure out what i'm doing wrong
#[pkg_do(build)]
fn main () {
    let exit = run_program("make", [~"clibs"]);
    assert!(exit == 0);
    let crate = rustpkg::Crate(~"src/term.rs").flag(~"-Ltmp");
    rustpkg::build(~[crate]);
}