aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update-lockfile.sh
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-05-29 16:52:20 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit9c0a99819c99d70d28334dc6ea1c3ac773e4fed1 (patch)
tree24d6d9ebdf2b9aa9a11c9ee271fa5e80d96fe6da /scripts/update-lockfile.sh
parentrefactor: rewrite installation using jobs and async (diff)
downloadnvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.gz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.bz2
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.lz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.xz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.zst
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.zip
ci: remove update-lockfile shell script
Diffstat (limited to 'scripts/update-lockfile.sh')
-rwxr-xr-xscripts/update-lockfile.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/update-lockfile.sh b/scripts/update-lockfile.sh
deleted file mode 100755
index d950b321a..000000000
--- a/scripts/update-lockfile.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-
-make_ignored() {
- if [ -n "$1" ]
- then
- while read -r lang; do
- if [ "$lang" != "$1" ]
- then
- printf "%s," "$lang"
- fi
- done < <(jq 'keys|@sh' -c lockfile.json)
- fi
-}
-
-TO_IGNORE=$(make_ignored $1)
-
-SKIP_LOCKFILE_UPDATE_FOR_LANGS="$TO_IGNORE" nvim -l ./scripts/write-lockfile.lua
-# Pretty print
-cp lockfile.json /tmp/lockfile.json
-cat /tmp/lockfile.json | jq --sort-keys > lockfile.json