mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 23:51:21 -06:00
Move rust tools out of book src dir
This commit is contained in:
+16
@@ -4,6 +4,22 @@ version = "0.0.1"
|
|||||||
authors = ["Steve Klabnik <steve@steveklabnik.com>"]
|
authors = ["Steve Klabnik <steve@steveklabnik.com>"]
|
||||||
description = "The Rust Book"
|
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]
|
[dependencies]
|
||||||
walkdir = "0.1.5"
|
walkdir = "0.1.5"
|
||||||
docopt = "0.6.82"
|
docopt = "0.6.82"
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
mkdir -p tmp
|
mkdir -p tmp
|
||||||
rm -rf tmp/*.md
|
rm -rf tmp/*.md
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user