aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-03 02:47:42 -0500
committerJesse Luehrs <doy@tozt.net>2013-04-03 02:51:11 -0500
commite1ab12801c910dee7138d66b4139d3a74db80f38 (patch)
tree31b7beee09a4cb1c8d7c4e761e452a1ac8e35741
parent0465ddb62b7708819a668aced5ade29cde6a8be0 (diff)
downloadrust-term-e1ab12801c910dee7138d66b4139d3a74db80f38.tar.gz
rust-term-e1ab12801c910dee7138d66b4139d3a74db80f38.zip
cleanups
-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]);