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 810a90e322
commit d34ced5437
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash
cd $(dirname "$0")/tools
cargo test -p cretonne -p cretonne-reader -p cretonne-tools
cargo doc -p cretonne -p cretonne-reader -p cretonne-tools
PKGS="-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
[[bin]]
name = "cretonne"
name = "cton-util"
path = "main.rs"
[dependencies]