Rename the 'cretonne' binary.

It soome that 'cargo doc' gets confused when there is both a library crate
and a binary called 'cretonne'.
This commit is contained in:
Jakob Stoklund Olesen
2016-04-29 15:13:09 -07:00
parent 01ed9fc6c8
commit 3d4103bf79
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
cd $(dirname "$0")/tools cd $(dirname "$0")/tools
cargo test -p cretonne -p cretonne-reader -p cretonne-tools PKGS="-p cretonne -p cretonne-reader -p cretonne-tools"
cargo doc -p cretonne -p cretonne-reader -p cretonne-tools cargo build $PKGS
cargo doc $PKGS
cargo test $PKGS

View File

@@ -6,7 +6,7 @@ description = "Binaries for testing the Cretonne library"
publish = false publish = false
[[bin]] [[bin]]
name = "cretonne" name = "cton-util"
path = "main.rs" path = "main.rs"
[dependencies] [dependencies]