diff --git a/Cargo.toml b/Cargo.toml index 789cd36..6208e63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,22 @@ version = "0.0.1" authors = ["Steve Klabnik "] description = "The Rust Book" +[[bin]] +name = "concat_chapters" +path = "tools/src/bin/concat_chapters.rs" + +[[bin]] +name = "lfp" +path = "tools/src/bin/lfp.rs" + +[[bin]] +name = "link2print" +path = "tools/src/bin/link2print.rs" + +[[bin]] +name = "remove_links" +path = "tools/src/bin/remove_links.rs" + [dependencies] walkdir = "0.1.5" docopt = "0.6.82" diff --git a/nostarch.sh b/nostarch.sh index 80a2d12..2eb8175 100755 --- a/nostarch.sh +++ b/nostarch.sh @@ -2,6 +2,8 @@ set -eu +cargo build --release + mkdir -p tmp rm -rf tmp/*.md diff --git a/src/bin/concat_chapters.rs b/tools/src/bin/concat_chapters.rs similarity index 100% rename from src/bin/concat_chapters.rs rename to tools/src/bin/concat_chapters.rs diff --git a/src/bin/lfp.rs b/tools/src/bin/lfp.rs similarity index 100% rename from src/bin/lfp.rs rename to tools/src/bin/lfp.rs diff --git a/src/bin/link2print.rs b/tools/src/bin/link2print.rs similarity index 100% rename from src/bin/link2print.rs rename to tools/src/bin/link2print.rs diff --git a/src/bin/remove_links.rs b/tools/src/bin/remove_links.rs similarity index 100% rename from src/bin/remove_links.rs rename to tools/src/bin/remove_links.rs