Skip to content

Commit

Permalink
Fix pkgid.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Dec 12, 2013
1 parent f83ddde commit e25bac3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions src/nalgebra.rs → src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
Expand Down

0 comments on commit e25bac3

Please sign in to comment.