1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 01:32:04 +03:00
vimr/bin/build_deps.sh
2022-01-11 14:11:17 +01:00

30 lines
901 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
main () {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." > /dev/null
local x86_64_deployment_target
x86_64_deployment_target="$(jq -r .deploymentTargets.x86_64 ./resources/buildInfo.json)"
readonly x86_64_deployment_target
local arm64_deployment_target
arm64_deployment_target="$(jq -r .deploymentTargets.arm64 ./resources/buildInfo.json)"
readonly arm64_deployment_target
local -r pcre_version="8.45"
local -r xz_version="5.3.2alpha"
local -r ag_version="2.2.0"
pushd ./bin >/dev/null
python third_party/build.py \
--arm64-deployment-target="${arm64_deployment_target}" \
--x86_64-deployment-target="${x86_64_deployment_target}" \
--xz-version "${xz_version}" \
--pcre-version "${pcre_version}" \
--ag-version "${ag_version}"
popd >/dev/null
popd >/dev/null
}
main