Fix pkgid.

This commit is contained in:
Sébastien Crozet 2013-12-12 18:07:44 +01:00
parent f83ddde824
commit e25bac3565
2 changed files with 7 additions and 6 deletions

View File

@ -3,20 +3,20 @@ nalgebra_lib_path=lib
nalgebra_doc_path=doc
all:
mkdir -p $(nalgebra_lib_path)
rustc src/nalgebra.rs --out-dir $(nalgebra_lib_path) --opt-level 3
rustc src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
test:
mkdir -p $(nalgebra_lib_path)
rustc --test src/nalgebra.rs --opt-level 3 -o test~ && ./test~
rustc --test src/lib.rs --opt-level 3 -o test~ && ./test~
rm test~
bench:
rustc --test src/nalgebra.rs --opt-level 3 -o bench~ && ./bench~ --bench
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
rm bench~
doc:
mkdir -p $(nalgebra_doc_path)
rustdoc src/nalgebra.rs
rustdoc src/lib.rs
distcheck:
rm -rf $(tmp)

View File

@ -108,10 +108,11 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
*/
#[link(name = "nalgebra"
, package_id = "nalgebra"
, vers = "0.1"
, author = "Sébastien Crozet"
, uuid = "1e96070f-4778-4ec1-b080-bf69f7048216")];
, uuid = "1e96070f-4778-4ec1-b080-bf69f7048216"
, url = "https://gitub.com/sebcrozet/nalgebra.git")];
#[pkgid = "github.com/sebcrozet/nalgebra"];
#[crate_type = "lib"];
#[deny(non_camel_case_types)];
#[deny(non_uppercase_statics)];