mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
Disable build.rs now that completions files are built
This commit is contained in:
parent
2ea77f3883
commit
b585239348
2 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||
|
|
12
build.rs
12
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/");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue