mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-23 22:01:49 +03:00
Use JSON instead of multiple txt files
This commit is contained in:
parent
cb7b86609b
commit
50e10a61cd
@ -4,11 +4,11 @@ set -Eeuo pipefail
|
||||
main () {
|
||||
pushd "$(dirname "${BASH_SOURCE[0]}")/.." > /dev/null
|
||||
local x86_64_deployment_target
|
||||
x86_64_deployment_target=$(cat ./resources/x86_64_deployment_target.txt)
|
||||
x86_64_deployment_target="$(jq -r .deploymentTargets.x86_64 ./resources/buildInfo.json)"
|
||||
readonly x86_64_deployment_target
|
||||
|
||||
local arm64_deployment_target
|
||||
arm64_deployment_target=$(cat ./resources/arm64_deployment_target.txt)
|
||||
arm64_deployment_target="$(jq -r .deploymentTargets.arm64 ./resources/buildInfo.json)"
|
||||
readonly arm64_deployment_target
|
||||
|
||||
local -r pcre_version="8.45"
|
||||
|
@ -7,7 +7,7 @@ readonly nvimserver_dir_path="${target_dir_path}/NvimServer"
|
||||
download_nvimserver() {
|
||||
echo "### Downloading NvimServer"
|
||||
local version
|
||||
version=$(cat ./resources/nvimserver_version.txt)
|
||||
version="$(jq -r .dependencies.nvimServer ./resources/buildInfo.json)"
|
||||
readonly version
|
||||
|
||||
echo "#### Downloading ${version}"
|
||||
|
@ -8,7 +8,7 @@ readonly compressed_file_name="${file_name}.tar.bz2"
|
||||
download_vimr_deps() {
|
||||
echo "### Downloading ${file_name}"
|
||||
local version
|
||||
version=$(cat ./resources/vimr-deps_version.txt)
|
||||
version="$(jq -r .dependencies.vimrDeps ./resources/buildInfo.json)"
|
||||
readonly version
|
||||
|
||||
echo "#### Downloading ${version}"
|
||||
|
@ -1 +0,0 @@
|
||||
11.00
|
@ -1 +0,0 @@
|
||||
vimr-deps-2021-12-12
|
@ -1 +0,0 @@
|
||||
10.13
|
Loading…
Reference in New Issue
Block a user