From d34ced543774df694cb849c5a35125cfe70a6570 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 29 Apr 2016 15:13:09 -0700 Subject: [PATCH] Rename the 'cretonne' binary. It soome that 'cargo doc' gets confused when there is both a library crate and a binary called 'cretonne'. --- src/test-all.sh | 6 ++++-- src/tools/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/test-all.sh b/src/test-all.sh index 4fe15bdca2..f6dca84322 100755 --- a/src/test-all.sh +++ b/src/test-all.sh @@ -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 diff --git a/src/tools/Cargo.toml b/src/tools/Cargo.toml index 5811ca9a1a..702bd635e6 100644 --- a/src/tools/Cargo.toml +++ b/src/tools/Cargo.toml @@ -6,7 +6,7 @@ description = "Binaries for testing the Cretonne library" publish = false [[bin]] -name = "cretonne" +name = "cton-util" path = "main.rs" [dependencies]