Add rustpkg support

This commit is contained in:
Brendan Zabarauskas 2013-03-30 09:54:05 +11:00
parent c6c92dc3e3
commit a601881dd5
3 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@ TARGET = lmath
ROOT_DIR = .
SRC_DIR = $(ROOT_DIR)/src
SRC_CRATE = $(TARGET).rc
SRC_CRATE = $(TARGET).rs
BUILD_DIR = $(ROOT_DIR)/lib
TEST = $(TARGET)

3
pkg.rs Normal file
View file

@ -0,0 +1,3 @@
#[pkg_crate(file = "src/lmath.rs")];
#[pkg(id = "lmath", vers = "0.1.0")];
#[pkg_dep(url = "git://github.com/bjz/numeric-rs")];

View file

@ -1,5 +1,5 @@
#[link(name = "lmath",
vers = "0.1",
vers = "0.1.0",
uuid = "A2DEEB53-EB35-4B44-B247-9044B57E3BA5",
author = "Brendan Zabarauskas",
url = "https://github.com/bjz/lmath-rs")];