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"
repository = "https://github.com/Keats/gutenberg"
keywords = ["static", "site", "generator", "blog"]
build = "build.rs"
# build = "build.rs"
[build-dependencies]
clap = "2"

View file

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