From e1ab12801c910dee7138d66b4139d3a74db80f38 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 3 Apr 2013 02:47:42 -0500 Subject: cleanups --- Makefile | 2 +- pkg.rs | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e788e40..1254cd0 100644 --- a/Makefile +++ b/Makefile @@ -49,4 +49,4 @@ tmp/io_helper.o: src/io_helper.c clean: -@rm -rf lib/ bin/ tmp/ -.PHONY: all clean build tests default +.PHONY: all build check tests clibs clean diff --git a/pkg.rs b/pkg.rs index 249ad47..d99e8d5 100644 --- a/pkg.rs +++ b/pkg.rs @@ -1,12 +1,11 @@ -#[pkg(id = "net.tozt.rust-term", vers = "0.0.1")]; +#[pkg(id = "rust-term", vers = "0.0.1")]; extern mod rustpkg; -use core::run::run_program; +use core::run; -// 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"]); + let exit = run::run_program("make", [~"clibs"]); assert!(exit == 0); let crate = rustpkg::Crate(~"src/term.rs").flag(~"-Ltmp"); rustpkg::build(~[crate]); -- cgit v1.2.3