Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cfc8d66be | ||
|
|
9dcc8fdd0d | ||
|
|
828477b255 | ||
|
|
4eae1fedf7 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -2049,7 +2049,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "topgrade"
|
||||
version = "10.3.0"
|
||||
version = "10.3.1"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"chrono",
|
||||
|
||||
@@ -6,7 +6,7 @@ keywords = ["upgrade", "update"]
|
||||
license = "GPL-3.0"
|
||||
# license-file = "LICENSE"
|
||||
repository = "https://github.com/topgrade-rs/topgrade"
|
||||
version = "10.3.0"
|
||||
version = "10.3.1"
|
||||
authors = ["Roey Darwish Dror <roey.ghost@gmail.com>", "Thomas Schönauer <t.schoenauer@hgs-wt.at>"]
|
||||
exclude = ["doc/screenshot.gif"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -80,8 +80,6 @@ Just fork the repository and start coding.
|
||||
|
||||
- Check if your code passes `cargo fmt` and `cargo clippy`.
|
||||
- Check if your code is self explanatory, if not it should be documented by comments.
|
||||
- Make a pull request to the `dev` branch for new features or to the `bug-fixes` branch for bug fixes.
|
||||
|
||||
## Roadmap
|
||||
|
||||
- [ ] Add a proper testing framework to the code base.
|
||||
|
||||
@@ -86,7 +86,7 @@ fn run() -> Result<()> {
|
||||
debug!("Binary path: {:?}", std::env::current_exe());
|
||||
debug!("Self Update: {:?}", cfg!(feature = "self-update"));
|
||||
|
||||
if config.display_preamble() || !config.skip_notify() {
|
||||
if config.display_preamble() && !config.skip_notify() {
|
||||
print_warning("Due to a design issue with notify-send it could be that topgrade hangs when it's finished.
|
||||
If this is the case on your system add the --skip-notify flag to the topgrade command or set skip_notify = true in the config file.
|
||||
If you don't want this message to appear any longer set display_preamble = false in the config file.
|
||||
|
||||
@@ -35,27 +35,14 @@ endif
|
||||
|
||||
if exists(":Lazy")
|
||||
echo "Lazy Update"
|
||||
+Lazy! sync
|
||||
autocmd User LazySync * quitall
|
||||
Lazy sync
|
||||
endif
|
||||
|
||||
function! UpdateCoCAndTS()
|
||||
if exists(":CocUpdateSync")
|
||||
echo "CocUpdateSync"
|
||||
CocUpdateSync
|
||||
endif
|
||||
|
||||
if exists(":TSUpdateSync")
|
||||
echo "TreeSitter Update"
|
||||
TSUpdate
|
||||
endif
|
||||
|
||||
quitall
|
||||
endfunction
|
||||
|
||||
if exists(':PackerSync')
|
||||
echo "Packer"
|
||||
autocmd User PackerComplete * call UpdateCoCAndTS()
|
||||
autocmd User PackerComplete quitall
|
||||
PackerSync
|
||||
else
|
||||
call UpdateCoCAndTS()
|
||||
quitall
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user