forked from rust-lang/mdBook
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rust-lang#860 from k-nasa/fix_duplication
Fix duplication with Cargo.toml
- Loading branch information
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
name = "mdbook" | ||
version = "0.2.4-alpha.0" | ||
authors = [ | ||
"Mathieu David <[email protected]>", | ||
"Mathieu David <[email protected]>", | ||
"Michael-F-Bryan <[email protected]>", | ||
"Matt Ickstadt <[email protected]>" | ||
] | ||
description = "Create books from markdown files" | ||
description = "Creates a book from markdown files" | ||
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html" | ||
repository = "https://github.com/rust-lang-nursery/mdBook" | ||
keywords = ["book", "gitbook", "rustbook", "markdown"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,14 @@ use std::path::{Path, PathBuf}; | |
|
||
mod cmd; | ||
|
||
const NAME: &str = "mdBook"; | ||
const VERSION: &str = concat!("v", crate_version!()); | ||
|
||
fn main() { | ||
init_logger(); | ||
|
||
// Create a list of valid arguments and sub-commands | ||
let app = App::new(NAME) | ||
.about("Creates a book from markdown files") | ||
let app = App::new(crate_name!()) | ||
.about(crate_description!()) | ||
.author("Mathieu David <[email protected]>") | ||
.version(VERSION) | ||
.setting(AppSettings::GlobalVersion) | ||
|