aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--pkg.rs7
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]);