1
1
mirror of https://github.com/codota/TabNine.git synced 2024-08-16 21:40:23 +03:00

Merge pull request #116 from HeLiBloks/patch-1

made dl_binaries.sh more posix compliant
This commit is contained in:
Jacob Jackson 2019-08-02 12:16:01 -04:00 committed by GitHub
commit 91df04a461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,16 +3,15 @@ set -e
# This script downloads the binaries for the most recent version of TabNine.
version=$(curl -sS https://update.tabnine.com/version)
targets=(
i686-apple-darwin
version="$(curl -sS https://update.tabnine.com/version)"
targets='i686-apple-darwin
x86_64-apple-darwin
x86_64-unknown-linux-gnu
x86_64-pc-windows-gnu
i686-unknown-linux-gnu
i686-pc-windows-gnu
)
for target in ${targets[@]}
i686-pc-windows-gnu'
echo "$targets" | while read target
do
mkdir -p binaries/$version/$target
case $target in