Disable build.rs now that completions files are built
This commit is contained in:
parent
2ea77f3883
commit
b585239348
|
@ -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"
|
||||||
|
|
12
build.rs
12
build.rs
|
@ -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/");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue