From b58523934821458c583953a76c8016a1ffcf4b0f Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sun, 16 Jul 2017 10:12:54 +0900 Subject: [PATCH] Disable build.rs now that completions files are built --- Cargo.toml | 2 +- build.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3c49a78..cf99682 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/build.rs b/build.rs index 67907d9..bc9dc8f 100644 --- a/build.rs +++ b/build.rs @@ -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/"); }