remove redundant update-nvim-plugins script

This commit is contained in:
LordMZTE 2024-04-19 20:30:55 +02:00
parent 2257c6155c
commit a541d203bd
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
2 changed files with 0 additions and 26 deletions

View File

@ -1,25 +0,0 @@
#!/usr/bin/env racket
#lang racket
;; Updates the neovim plugins
;; Packer is currently too dumb to do this is the plugins have been compiled
(define plugin-dir (expand-user-path "~/.local/share/nvim/site/pack/packer"))
(define dirs
(map (λ (path) (match-let-values ([(p _ _) (split-path path)]) p))
(find-files (λ (path) (equal? (path->string (last (explode-path path))) ".git"))
plugin-dir
#:follow-links? #f)))
(define git-path (find-executable-path "git"))
(for ([dir (in-list dirs)])
(let ([name (last (explode-path dir))]) (printf "\n====== ~a ======\n\n" name))
(parameterize ([current-directory dir])
(system* git-path "checkout" "." #:set-pwd? #t)
(system* git-path "pull" #:set-pwd? #t)))
(displayln "\n====== COMPILING ======\n")
(system* (find-executable-path "mzte-nv-compile") plugin-dir)
(void)

View File

@ -12,7 +12,6 @@
(install-link "scripts/brightness.rkt" (bin-path "brightness"))
(install-link "scripts/map-touch-display.rkt" (bin-path "map-touch-display"))
(install-link "scripts/sysupdate.rkt" (bin-path "sysupdate"))
(install-link "scripts/update-nvim-plugins.rkt" (bin-path "update-nvim-plugins"))
(install-link "scripts/use-country-mirrors.sh" (bin-path "use-country-mirrors"))
(install-link "scripts/videos-duration.sh" (bin-path "videos-duration"))