aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-02 18:22:05 -0500
committerJesse Luehrs <doy@tozt.net>2013-04-02 18:22:05 -0500
commite8ac9d3a68e71c99f123d4850b116fd3d2d66ba7 (patch)
tree59abf08335367be338be784529287170a97f769d
parent543ad94ccaf6e4d521652613e12fa50c5c0ad321 (diff)
downloadrust-term-e8ac9d3a68e71c99f123d4850b116fd3d2d66ba7.tar.gz
rust-term-e8ac9d3a68e71c99f123d4850b116fd3d2d66ba7.zip
fix rustpkg stuff
-rw-r--r--pkg.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg.rs b/pkg.rs
index 9e9edeb..249ad47 100644
--- a/pkg.rs
+++ b/pkg.rs
@@ -5,11 +5,9 @@ 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 build () {
+fn main () {
let exit = run_program("make", [~"clibs"]);
assert!(exit == 0);
let crate = rustpkg::Crate(~"src/term.rs").flag(~"-Ltmp");
rustpkg::build(~[crate]);
}
-
-fn main () { }