summaryrefslogtreecommitdiff
path: root/pack/ache/start/updatePlugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pack/ache/start/updatePlugin.py')
-rwxr-xr-xpack/ache/start/updatePlugin.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/pack/ache/start/updatePlugin.py b/pack/ache/start/updatePlugin.py
deleted file mode 100755
index 2a8a496..0000000
--- a/pack/ache/start/updatePlugin.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/env python
-
-import subprocess
-from pathlib import Path
-
-
-for plugin in Path('.').iterdir():
- if (plugin / ".git").exists():
- ret = subprocess.run(["git", "pull"], cwd=str(plugin))
-
- if ret.returncode != 0:
- print(f"Error updating {plugin}")
- continue
-
- # The option --init is necessery if there is new submodule
- ret = subprocess.run(["git", "submodule", "update", "--init", "--recursive"], cwd=str(plugin))
- if ret.returncode != 0:
- print(f"Error updating {plugin}")
-
-# Post install script
-
-subprocess.run(["make", "hexokinase"], cwd="vim-hexokinase")
-print('Post install Hexakinase done ✔️')
-
-installCmd = "+:CocUpdate"
-subprocess.run(["nvim", installCmd])
-print('Coc plugins update done ✔️')
-
-print("Please check health 🏥")
-subprocess.run(["nvim", "+:checkhealth"])