1
1
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:
Tae Won Ha 2022-01-11 14:11:17 +01:00
parent cb7b86609b
commit 50e10a61cd
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
6 changed files with 4 additions and 7 deletions

View File

@ -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"

View File

@ -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}"

View File

@ -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}"

View File

@ -1 +0,0 @@
11.00

View File

@ -1 +0,0 @@
vimr-deps-2021-12-12

View File

@ -1 +0,0 @@
10.13