mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 23:38:41 +08:00
Move rust tools out of book src dir
This commit is contained in:
parent
cf39be045f
commit
466a74aebc
16
Cargo.toml
16
Cargo.toml
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user