Commit graph

10 commits

Author SHA1 Message Date
Marcin Puc
74c090a637 Add completion subcommand (#1968)
* Add completion subcommand

* Remove old completion scripts

* Move completion logic
2023-02-16 20:49:03 +01:00
Sam Vente
dde3531fd9
Make sure that zola serve/build can start from anywhere inside dir tree (#1761)
* Make sure that zola serve/build can start from anywhere inside dir tree

* make clippy and rustfmt a bit happier

* replace unecessary if-else with unwrap_or and display which path could not get canonicalized if it fails at startup

* canonicalize config_path to avoid crash when config.toml changes
2022-03-03 12:35:29 +01:00
Sam Vente
fd052252f7 fix crash in build.rs when installing from source on linux (#1760) 2022-02-14 11:08:40 +01:00
liushuyu
821fa38bc1 build: include metadata in Windows binary (#1735) 2022-02-14 11:08:40 +01:00
Sam Ford
e804f907b2 Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
Vincent Prouillet
b7ce4e59fb rustfmt 2018-10-31 08:18:57 +01:00
Vincent Prouillet
f84ae7c93b Rename all occurrences of gutenberg to zola in code 2018-10-18 22:50:06 +02:00
Baptiste Darthenay
046de8c998 Config with i18n 2018-01-15 17:54:06 +01:00
Vincent Prouillet
b585239348 Disable build.rs now that completions files are built 2017-07-16 10:19:18 +09:00
Vincent Prouillet
2ea77f3883 Generate completions for all shells 2017-07-15 13:24:31 +09:00