Disable build.rs now that completions files are built

This commit is contained in:
Vincent Prouillet 2017-07-16 10:12:54 +09:00
parent 2ea77f3883
commit b585239348
2 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ description = "Static site generator"
homepage = "https://github.com/Keats/gutenberg" homepage = "https://github.com/Keats/gutenberg"
repository = "https://github.com/Keats/gutenberg" repository = "https://github.com/Keats/gutenberg"
keywords = ["static", "site", "generator", "blog"] keywords = ["static", "site", "generator", "blog"]
build = "build.rs" # build = "build.rs"
[build-dependencies] [build-dependencies]
clap = "2" clap = "2"

View file

@ -6,10 +6,10 @@ use clap::Shell;
include!("src/cli.rs"); include!("src/cli.rs");
fn main() { fn main() {
let mut app = build_cli(); // disabled below as it fails in CI
println!("hello"); // let mut app = build_cli();
app.gen_completions("gutenberg", Shell::Bash, "completions/"); // app.gen_completions("gutenberg", Shell::Bash, "completions/");
app.gen_completions("gutenberg", Shell::Fish, "completions/"); // app.gen_completions("gutenberg", Shell::Fish, "completions/");
app.gen_completions("gutenberg", Shell::Zsh, "completions/"); // app.gen_completions("gutenberg", Shell::Zsh, "completions/");
app.gen_completions("gutenberg", Shell::PowerShell, "completions/"); // app.gen_completions("gutenberg", Shell::PowerShell, "completions/");
} }